demarches-normaliennes/app/helpers/flipper_helper.rb

8 lines
148 B
Ruby
Raw Permalink Normal View History

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