diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-04-14 16:55:10 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-04-14 16:55:10 -0500 |
commit | 13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403 (patch) | |
tree | 8a13bc5de9e0f05fa04bc5da357bcd55f7028820 | |
parent | ef08aa45b1316952459b122fcaba6f3cd3af423a (diff) | |
download | rails-13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403.tar.gz rails-13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403.tar.bz2 rails-13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403.zip |
Backwords compat alias for ActionController::Request and ActionController::Response
-rw-r--r-- | actionpack/lib/action_controller/base/base.rb | 1 | ||||
-rw-r--r-- | actionpack/lib/action_controller/deprecated.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/base/base.rb b/actionpack/lib/action_controller/base/base.rb index aea434ffa0..3000b3d12f 100644 --- a/actionpack/lib/action_controller/base/base.rb +++ b/actionpack/lib/action_controller/base/base.rb @@ -1,3 +1,4 @@ +require 'action_controller/deprecated' require 'set' module ActionController #:nodoc: diff --git a/actionpack/lib/action_controller/deprecated.rb b/actionpack/lib/action_controller/deprecated.rb new file mode 100644 index 0000000000..d98e9ac7bd --- /dev/null +++ b/actionpack/lib/action_controller/deprecated.rb @@ -0,0 +1,2 @@ +ActionController::AbstractRequest = ActionController::Request = ActionDispatch::Request +ActionController::AbstractResponse = ActionController::Response = ActionDispatch::Response |