Cleanup feature flags usage
This commit is contained in:
parent
46377fb7d9
commit
1c811083c0
9 changed files with 20 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue