diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-12-30 15:16:51 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-12-30 15:16:51 -0800 |
commit | c69d8c043f8d0a587708fb2247b585ca93df822d (patch) | |
tree | 8df5424760fc03d3127aad0d21fe9c45ca594b1c /actionpack/lib/action_controller/routing/route_set.rb | |
parent | 2f9edde142a15452eb088b8b4b2a38272dde2ba5 (diff) | |
download | rails-c69d8c043f8d0a587708fb2247b585ca93df822d.tar.gz rails-c69d8c043f8d0a587708fb2247b585ca93df822d.tar.bz2 rails-c69d8c043f8d0a587708fb2247b585ca93df822d.zip |
Fix formatted_* deprecation message
Diffstat (limited to 'actionpack/lib/action_controller/routing/route_set.rb')
-rw-r--r-- | actionpack/lib/action_controller/routing/route_set.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/routing/route_set.rb b/actionpack/lib/action_controller/routing/route_set.rb index 06aef6e169..044ace7de1 100644 --- a/actionpack/lib/action_controller/routing/route_set.rb +++ b/actionpack/lib/action_controller/routing/route_set.rb @@ -195,8 +195,8 @@ module ActionController def formatted_#{selector}(*args) # def formatted_users_url(*args) ActiveSupport::Deprecation.warn( # ActiveSupport::Deprecation.warn( "formatted_#{selector}() has been deprecated. " + # "formatted_users_url() has been deprecated. " + - "please pass format to the standard" + # "please pass format to the standard" + - "#{selector}() method instead.", caller) # "users_url() method instead.", caller) + "Please pass format to the standard " + # "Please pass format to the standard " + + "#{selector} method instead.", caller) # "users_url method instead.", caller) #{selector}(*args) # users_url(*args) end # end protected :#{selector} # protected :users_url |