Permalink
Browse files

Fix formatted_* deprecation message

  • Loading branch information...
jeremy authored and wycats committed Dec 30, 2008
1 parent 724151d commit 6b3c702bd7321e7fcf86a82edb720b96a7e34119
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/routing/route_set.rb
@@ -195,8 +195,8 @@ def #{selector}(*args) #
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

0 comments on commit 6b3c702

Please sign in to comment.