BigW Consortium Gitlab

flipper.rb 205 Bytes
Newer Older
1 2
require 'flipper/middleware/memoizer'

3 4 5
unless Rails.env.test?
  Rails.application.config.middleware.use Flipper::Middleware::Memoizer,
    lambda { Feature.flipper }
6 7

  Feature.register_feature_groups
8
end