lib/eeny-meeny/railtie.rb in eeny-meeny-2.1.3 vs lib/eeny-meeny/railtie.rb in eeny-meeny-2.1.4
- old
+ new
@@ -17,10 +17,10 @@
end
# Include Helpers in ActionController and ActionView
ActionController::Base.send :include, EenyMeeny::ExperimentHelper
ActionView::Base.send :include, EenyMeeny::ExperimentHelper
# Insert Middleware
- app.middleware.insert_before 'ActionDispatch::Cookies', EenyMeeny::Middleware
+ app.middleware.insert_before ActionDispatch::Cookies, EenyMeeny::Middleware
end
rake_tasks do
load 'tasks/cookie.rake'
end