aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/deprecated
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-01-18 09:49:05 -0600
committerJoshua Peek <josh@joshpeek.com>2010-01-18 09:49:38 -0600
commit68b76a38eb83db8515336ec2e7fd8191798386be (patch)
tree396db460d1d6a1aefcc68bc48cd6b6c977113309 /actionpack/lib/action_controller/deprecated
parente27bfad6a5f9e9171148226dee7ce51d41731ea7 (diff)
downloadrails-68b76a38eb83db8515336ec2e7fd8191798386be.tar.gz
rails-68b76a38eb83db8515336ec2e7fd8191798386be.tar.bz2
rails-68b76a38eb83db8515336ec2e7fd8191798386be.zip
Cleanup deprecation notices.
Diffstat (limited to 'actionpack/lib/action_controller/deprecated')
-rw-r--r--actionpack/lib/action_controller/deprecated/dispatcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/deprecated/dispatcher.rb b/actionpack/lib/action_controller/deprecated/dispatcher.rb
index 1a70d2ee4d..8c21e375dd 100644
--- a/actionpack/lib/action_controller/deprecated/dispatcher.rb
+++ b/actionpack/lib/action_controller/deprecated/dispatcher.rb
@@ -15,7 +15,7 @@ module ActionController
def to_prepare(*args, &block)
ActiveSupport::Deprecation.warn "ActionController::Dispatcher.to_prepare is deprecated. " <<
- "Please use ActionDispatch::Callbacks.to_prepare instead.", caller
+ "Please use config.to_prepare instead", caller
ActionDispatch::Callbacks.after(*args, &block)
end