aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-10-19 15:52:44 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-10-23 12:50:48 -0400
commit216965e926d30863a6338351fd13e939c3e72dde (patch)
treefb89748f3bacd4e7f955d4042f21b28b65f327aa /actionpack
parent8f5413b896099f80ef46a97819fe47a820417bc2 (diff)
downloadrails-216965e926d30863a6338351fd13e939c3e72dde.tar.gz
rails-216965e926d30863a6338351fd13e939c3e72dde.tar.bz2
rails-216965e926d30863a6338351fd13e939c3e72dde.zip
Change the deprecation horizon of the dynamic routes segment to 6.0
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 18862d819f..71cb458112 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -584,14 +584,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.2.
+ will be removed in Rails 6.0.
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.2.
+ will be removed in Rails 6.0.
MSG
end