debian-mirror-gitlab/config/initializers/flipper.rb
2017-09-10 17:25:29 +05:30

8 lines
205 B
Ruby

require 'flipper/middleware/memoizer'
unless Rails.env.test?
Rails.application.config.middleware.use Flipper::Middleware::Memoizer,
lambda { Feature.flipper }
Feature.register_feature_groups
end