Permalink
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...
1 parent 7bfca7e commit c2fb8ca393569105cb25bd79d1bf018c20cce51a @dhh dhh committed Mar 18, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 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]
)
)

0 comments on commit c2fb8ca

Please sign in to comment.