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:
Carlos Antonio da Silva 2010-09-26 01:03:10 +08:00 committed by José Valim
parent ecc13f7c18
commit 12db1a39cd
4 changed files with 11 additions and 0 deletions

@ -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

@ -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