Skip to content

Commit 0e7da0e

Browse files
author
Yehuda Katz + Carl Lerche
committed
Include caching module into new base
1 parent 26f2be0 commit 0e7da0e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

actionpack/lib/action_controller/new_base.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module ActionController
1313

1414
# Ported modules
1515
# require 'action_controller/routing'
16+
autoload :Caching, 'action_controller/caching'
1617
autoload :Dispatcher, 'action_controller/dispatch/dispatcher'
1718
autoload :PolymorphicRoutes, 'action_controller/routing/generation/polymorphic_routes'
1819
autoload :RecordIdentifier, 'action_controller/record_identifier'

actionpack/lib/action_controller/new_base/base.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class Base < Http
1717
# Legacy modules
1818
include SessionManagement
1919
include ActionDispatch::StatusCodes
20+
include ActionController::Caching
2021

2122
# Rails 2.x compatibility
2223
include ActionController::Rails2Compatibility

0 commit comments

Comments
 (0)