diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-10-19 15:52:44 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-10-23 12:50:48 -0400 |
commit | 216965e926d30863a6338351fd13e939c3e72dde (patch) | |
tree | fb89748f3bacd4e7f955d4042f21b28b65f327aa /actionpack/lib/action_dispatch | |
parent | 8f5413b896099f80ef46a97819fe47a820417bc2 (diff) | |
download | rails-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/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 4 |
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 |