Migrate to flipper
This commit is contained in:
parent
28d869e818
commit
65e227c44b
33 changed files with 186 additions and 181 deletions
5
app/helpers/flipper_helper.rb
Normal file
5
app/helpers/flipper_helper.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
module FlipperHelper
|
||||
def feature_enabled?(feature_name)
|
||||
Flipper.enabled?(feature_name, current_user)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue