Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit c2fb8ca393569105cb25bd79d1bf018c20cce51a 1 parent 7bfca7e
@dhh dhh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/components.rb
View
2  actionpack/lib/action_controller/components.rb
@@ -153,7 +153,7 @@ def request_for_component(controller_name, options)
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]
)
)
Please sign in to comment.
Something went wrong with that request. Please try again.