demarches-normaliennes/app/helpers/flipper_helper.rb

6 lines
117 B
Ruby
Raw Permalink Normal View History

2019-07-04 12:36:17 +02:00
module FlipperHelper
def feature_enabled?(feature_name)
Flipper.enabled?(feature_name, current_user)
end
end