Partial revert of #d650b71 'Remove deprecated stuff in ActionController'
This brings back the deprecated modules from ActionController, because they didn't have any deprecation warning.
This commit is contained in:
parent
ecc13f7c18
commit
12db1a39cd
@ -34,6 +34,11 @@ module ActionController
|
|||||||
autoload :UrlFor
|
autoload :UrlFor
|
||||||
end
|
end
|
||||||
|
|
||||||
|
autoload :Integration, 'action_controller/deprecated/integration_test'
|
||||||
|
autoload :IntegrationTest, 'action_controller/deprecated/integration_test'
|
||||||
|
autoload :PerformanceTest, 'action_controller/deprecated/performance_test'
|
||||||
|
autoload :UrlWriter, 'action_controller/deprecated'
|
||||||
|
autoload :Routing, 'action_controller/deprecated'
|
||||||
autoload :TestCase, 'action_controller/test_case'
|
autoload :TestCase, 'action_controller/test_case'
|
||||||
|
|
||||||
eager_autoload do
|
eager_autoload do
|
||||||
|
3
actionpack/lib/action_controller/deprecated.rb
Normal file
3
actionpack/lib/action_controller/deprecated.rb
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
ActionController::AbstractRequest = ActionController::Request = ActionDispatch::Request
|
||||||
|
ActionController::AbstractResponse = ActionController::Response = ActionDispatch::Response
|
||||||
|
ActionController::Routing = ActionDispatch::Routing
|
@ -0,0 +1,2 @@
|
|||||||
|
ActionController::Integration = ActionDispatch::Integration
|
||||||
|
ActionController::IntegrationTest = ActionDispatch::IntegrationTest
|
@ -0,0 +1 @@
|
|||||||
|
ActionController::PerformanceTest = ActionDispatch::PerformanceTest
|
Loading…
Reference in New Issue
Block a user