Include caching module into new base
This commit is contained in:
parent
26f2be01c2
commit
0e7da0e4a0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user