Skip to content
Browse files

Fix old reference to ActionController::Failsafe

  • Loading branch information...
1 parent 6d4a4fa commit bd7659e014482a25b7ab6c6242a2b0926dcfc4d2 @jeremy jeremy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/initializer.rb
View
2 railties/lib/initializer.rb
@@ -462,7 +462,7 @@ def initialize_cache
if RAILS_CACHE.respond_to?(:middleware)
# Insert middleware to setup and teardown local cache for each request
- configuration.middleware.insert_after(:"ActionController::Failsafe", RAILS_CACHE.middleware)
+ configuration.middleware.insert_after(:"ActionDispatch::Failsafe", RAILS_CACHE.middleware)
end
end
end

0 comments on commit bd7659e

Please sign in to comment.
Something went wrong with that request. Please try again.