aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-04 22:10:13 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-04 23:05:27 +0100
commitbd729344a7ac747cccaeed983d435fc36c905683 (patch)
treefbb36d766916c5d087a0ee8d4574cfdd57bd0081 /actionpack/lib
parent79438b46382aa08ea83d740247eb16365e6d2327 (diff)
downloadrails-bd729344a7ac747cccaeed983d435fc36c905683.tar.gz
rails-bd729344a7ac747cccaeed983d435fc36c905683.tar.bz2
rails-bd729344a7ac747cccaeed983d435fc36c905683.zip
Remove deprecated formatted named routes
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index bd397432ce..792762ebd7 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -189,14 +189,6 @@ module ActionDispatch
url_for(#{hash_access_method}(opts)) # url_for(hash_for_users_url(opts))
#
end # end
- #Add an alias to support the now deprecated formatted_* URL. # #Add an alias to support the now deprecated formatted_* URL.
- 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)
- #{selector}(*args) # users_url(*args)
- end # end
protected :#{selector} # protected :users_url
end_eval
helpers << selector