Skip to content

Commit

Permalink
Define flipper_notifications? helper
Browse files Browse the repository at this point in the history
  • Loading branch information
saraycp committed Aug 7, 2020
1 parent 03f1e32 commit fe91077
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/app/helpers/webui/webui_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ def flipper_responsive?
Flipper.enabled?(:responsive_ux, User.possibly_nobody)
end

def flipper_notifications?
Flipper.enabled?(:notifications_redesign, User.possibly_nobody)
end

# responsive_ux:
def responsive_namespace
flipper_responsive? ? 'webui/responsive_ux' : 'webui'
Expand Down

0 comments on commit fe91077

Please sign in to comment.