aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorAbhay Nikam <nikam.abhay1@gmail.com>2019-04-20 01:11:47 +0530
committerAbhay Nikam <nikam.abhay1@gmail.com>2019-04-20 01:50:52 +0530
commit37b2c83dbc175c23ef34d5b18ca7b5bdab6cf86b (patch)
tree62010b58d748d446a5939f6d9084899e5622b6df /actionpack/lib/action_dispatch
parent92c464373abe7c486e189b21a6376aca01173b06 (diff)
downloadrails-37b2c83dbc175c23ef34d5b18ca7b5bdab6cf86b.tar.gz
rails-37b2c83dbc175c23ef34d5b18ca7b5bdab6cf86b.tar.bz2
rails-37b2c83dbc175c23ef34d5b18ca7b5bdab6cf86b.zip
Change the deprecation message for dynamic routes segment to 6.1
Diffstat (limited to 'actionpack/lib/action_dispatch')
-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 4a24c35efb..bbb5762b3c 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -591,14 +591,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 6.0.
+ will be removed in Rails 6.1.
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 6.0.
+ will be removed in Rails 6.1.
MSG
end