aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-04-14 16:55:10 -0500
committerJoshua Peek <josh@joshpeek.com>2009-04-14 16:55:10 -0500
commit13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403 (patch)
tree8a13bc5de9e0f05fa04bc5da357bcd55f7028820 /actionpack
parentef08aa45b1316952459b122fcaba6f3cd3af423a (diff)
downloadrails-13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403.tar.gz
rails-13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403.tar.bz2
rails-13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403.zip
Backwords compat alias for ActionController::Request and ActionController::Response
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/base/base.rb1
-rw-r--r--actionpack/lib/action_controller/deprecated.rb2
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