add a feature-flip for procedure PDF export

This commit is contained in:
clemkeirua 2020-03-04 15:51:33 +01:00
parent 90a0879d71
commit ca7f81b6ed
3 changed files with 19 additions and 10 deletions

View file

@ -2,4 +2,8 @@ module FlipperHelper
def feature_enabled?(feature_name)
Flipper.enabled?(feature_name, current_user)
end
def feature_enabled_for?(feature_name, item)
Flipper.enabled?(feature_name, item)
end
end