Just use a normal update on the indifferent hash

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2006-03-18 16:11:21 +00:00
parent 7bfca7e717
commit c2fb8ca393

View File

@@ -153,7 +153,7 @@ module ActionController #:nodoc:
request.instance_variable_set(
:@parameters,
(options[:params] || {}).with_indifferent_access.regular_update(
(options[:params] || {}).with_indifferent_access.update(
"controller" => controller_name, "action" => options[:action], "id" => options[:id]
)
)