diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-12-30 15:16:51 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-01-01 00:13:11 -0800 |
commit | 6b3c702bd7321e7fcf86a82edb720b96a7e34119 (patch) | |
tree | 4f75027898a29598541c87022710cfa3313b8d8f /actionpack | |
parent | 724151d8814fe1ff2351e8c70b0fb02512666e96 (diff) | |
download | rails-6b3c702bd7321e7fcf86a82edb720b96a7e34119.tar.gz rails-6b3c702bd7321e7fcf86a82edb720b96a7e34119.tar.bz2 rails-6b3c702bd7321e7fcf86a82edb720b96a7e34119.zip |
Fix formatted_* deprecation message
Diffstat (limited to 'actionpack')
-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 |