method

assign_deprecated_options

assign_deprecated_options(deprecated_options, options, method_name)
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 676
          def assign_deprecated_options(deprecated_options, options, method_name)
            deprecated_options.each do |key, value|
              ActionDispatch.deprecator.warn(<<~MSG.squish)
                #{method_name} received a hash argument #{key}. Please use a keyword instead. Support to hash argument will be removed in Rails 8.2.
              MSG
              options[key] = value
            end
          end