aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-02-22 13:37:42 +0000
committerAndrew White <andrew.white@unboxed.co>2017-02-22 13:37:42 +0000
commit923d98bd772ae2a2362be59241a5ccb0b27c937c (patch)
tree802048d3e43d79339d1ea56bf99f57088a8b222d /actionpack
parentac1862972cd221ef06900f0f973e5160dbd63979 (diff)
downloadrails-923d98bd772ae2a2362be59241a5ccb0b27c937c.tar.gz
rails-923d98bd772ae2a2362be59241a5ccb0b27c937c.tar.bz2
rails-923d98bd772ae2a2362be59241a5ccb0b27c937c.zip
Bump removal of `/:controller/:action` to Rails 5.2
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index 84457c97de..2672cd24ed 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -582,14 +582,14 @@ module ActionDispatch
if route.segment_keys.include?(:controller)
ActiveSupport::Deprecation.warn(<<-MSG.squish)
Using a dynamic :controller segment in a route is deprecated and
- will be removed in Rails 5.1.
+ will be removed in Rails 5.2.
MSG
end
if route.segment_keys.include?(:action)
ActiveSupport::Deprecation.warn(<<-MSG.squish)
Using a dynamic :action segment in a route is deprecated and
- will be removed in Rails 5.1.
+ will be removed in Rails 5.2.
MSG
end