diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-03 00:26:36 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 11:58:42 -0300 |
commit | 2cc91c37bc2e32b7a04b2d782fb8f4a69a14503f (patch) | |
tree | b08034ae4c80127468838c1b5a70d3348936fdd6 /actionpack/lib/action_dispatch/routing | |
parent | 1f3b0a8609c00278b9a10076040ac9c90a9cc4a6 (diff) | |
download | rails-2cc91c37bc2e32b7a04b2d782fb8f4a69a14503f.tar.gz rails-2cc91c37bc2e32b7a04b2d782fb8f4a69a14503f.tar.bz2 rails-2cc91c37bc2e32b7a04b2d782fb8f4a69a14503f.zip |
Remove deprecated `NamedRouteCollection#helpers`
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 8 |
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 d7693bdcee..0e9e44432c 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -102,14 +102,6 @@ module ActionDispatch @path_helpers.include?(key) || @url_helpers.include?(key) end - def helpers - ActiveSupport::Deprecation.warn(<<-MSG.squish) - `named_routes.helpers` is deprecated, please use `route_defined?(route_name)` - to see if a named route was defined. - MSG - @path_helpers + @url_helpers - end - def helper_names @path_helpers.map(&:to_s) + @url_helpers.map(&:to_s) end |