Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Include caching module into new base

  • Loading branch information...
commit 0e7da0e4a06f78ab39b0e90daadfc223b8f1738a 1 parent 26f2be0
Yehuda Katz + Carl Lerche authored
1  actionpack/lib/action_controller/new_base.rb
View
@@ -13,6 +13,7 @@ module ActionController
# Ported modules
# require 'action_controller/routing'
+ autoload :Caching, 'action_controller/caching'
autoload :Dispatcher, 'action_controller/dispatch/dispatcher'
autoload :PolymorphicRoutes, 'action_controller/routing/generation/polymorphic_routes'
autoload :RecordIdentifier, 'action_controller/record_identifier'
1  actionpack/lib/action_controller/new_base/base.rb
View
@@ -17,6 +17,7 @@ class Base < Http
# Legacy modules
include SessionManagement
include ActionDispatch::StatusCodes
+ include ActionController::Caching
# Rails 2.x compatibility
include ActionController::Rails2Compatibility
Please sign in to comment.
Something went wrong with that request. Please try again.