1
0
Fork 0
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:
Lachlan Sylvester 2021-12-23 13:19:02 +11:00
parent 310d62a443
commit cfd992e225

View file

@ -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