Cleanup feature flags usage

This commit is contained in:
Paul Chavard 2021-03-03 18:20:34 +01:00
parent 46377fb7d9
commit 1c811083c0
9 changed files with 20 additions and 18 deletions

View file

@ -2,8 +2,4 @@ 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