diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/flipper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/initializers/flipper.rb b/config/initializers/flipper.rb new file mode 100644 index 00000000000..0fee832788d --- /dev/null +++ b/config/initializers/flipper.rb @@ -0,0 +1,4 @@ +require 'flipper/middleware/memoizer' + +Rails.application.config.middleware.use Flipper::Middleware::Memoizer, + lambda { Feature.flipper } |