aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-05-02 15:37:29 -0500
committerJoshua Peek <josh@joshpeek.com>2009-05-02 15:37:29 -0500
commit24affdc88c4a4af03ce1ec5b23c3def18b90effe (patch)
tree46af2860b8944f85b14410884ddeb95d2387673a /actionpack/lib
parentf32cf44870549c6cc5b6e6c84cffc1facf6ec38e (diff)
downloadrails-24affdc88c4a4af03ce1ec5b23c3def18b90effe.tar.gz
rails-24affdc88c4a4af03ce1ec5b23c3def18b90effe.tar.bz2
rails-24affdc88c4a4af03ce1ec5b23c3def18b90effe.zip
Deprecate Controller.process interface
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/base/base.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/base/base.rb b/actionpack/lib/action_controller/base/base.rb
index eb65f59ddd..60567454b1 100644
--- a/actionpack/lib/action_controller/base/base.rb
+++ b/actionpack/lib/action_controller/base/base.rb
@@ -376,6 +376,7 @@ module ActionController #:nodoc:
# Factory for the standard create, process loop where the controller is discarded after processing.
def process(request, response) #:nodoc:
+ ActiveSupport::Deprecation.warn("Controller.process has been deprecated. Use Controller.call instead", caller)
new.process(request, response)
end