mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
dump the dynamic route segments deprication horizon as it was not removed for rails 7.0
This commit is contained in:
parent
310d62a443
commit
cfd992e225
1 changed files with 2 additions and 2 deletions
|
@ -596,14 +596,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 7.0.
|
||||
will be removed in Rails 7.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 7.0.
|
||||
will be removed in Rails 7.1.
|
||||
MSG
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue