Include caching module into new base

This commit is contained in:
Yehuda Katz + Carl Lerche 2009-05-19 18:04:17 -07:00
parent 26f2be01c2
commit 0e7da0e4a0
2 changed files with 2 additions and 0 deletions

@ -13,6 +13,7 @@ module ActionController
# Ported modules # Ported modules
# require 'action_controller/routing' # require 'action_controller/routing'
autoload :Caching, 'action_controller/caching'
autoload :Dispatcher, 'action_controller/dispatch/dispatcher' autoload :Dispatcher, 'action_controller/dispatch/dispatcher'
autoload :PolymorphicRoutes, 'action_controller/routing/generation/polymorphic_routes' autoload :PolymorphicRoutes, 'action_controller/routing/generation/polymorphic_routes'
autoload :RecordIdentifier, 'action_controller/record_identifier' autoload :RecordIdentifier, 'action_controller/record_identifier'

@ -17,6 +17,7 @@ class Base < Http
# Legacy modules # Legacy modules
include SessionManagement include SessionManagement
include ActionDispatch::StatusCodes include ActionDispatch::StatusCodes
include ActionController::Caching
# Rails 2.x compatibility # Rails 2.x compatibility
include ActionController::Rails2Compatibility include ActionController::Rails2Compatibility