From 13bb6a9a995c3f3a039f8d4ffd2532ae7c88f403 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 14 Apr 2009 16:55:10 -0500 Subject: Backwords compat alias for ActionController::Request and ActionController::Response --- actionpack/lib/action_controller/base/base.rb | 1 + actionpack/lib/action_controller/deprecated.rb | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 actionpack/lib/action_controller/deprecated.rb (limited to 'actionpack') 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 -- cgit v1.2.3