Update to Rails 2.3.8
This commit is contained in:
parent
6677b46cb4
commit
f0635301aa
429 changed files with 17683 additions and 4047 deletions
|
@ -159,6 +159,9 @@ module ActionController
|
|||
end
|
||||
|
||||
def rewrite(options = {})
|
||||
if options.include?(:overwrite_params)
|
||||
ActiveSupport::Deprecation.warn 'The :overwrite_params option is deprecated. Specify all the necessary parameters instead', caller
|
||||
end
|
||||
rewrite_url(options)
|
||||
end
|
||||
|
||||
|
@ -194,7 +197,7 @@ module ActionController
|
|||
options = options.symbolize_keys
|
||||
options.update(options[:params].symbolize_keys) if options[:params]
|
||||
|
||||
if (overwrite = options.delete(:overwrite_params))
|
||||
if overwrite = options.delete(:overwrite_params)
|
||||
options.update(@parameters.symbolize_keys)
|
||||
options.update(overwrite.symbolize_keys)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue