Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix formatted_* deprecation message

  • Loading branch information...
commit c69d8c043f8d0a587708fb2247b585ca93df822d 1 parent 2f9edde
@jeremy jeremy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/routing/route_set.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.