diff --git a/actionpack/lib/action_controller/components.rb b/actionpack/lib/action_controller/components.rb index a9c850c49dc1dcfa45729a2bb751238a167a9683..3ea83463e32f4fa830adb961b2ac0a822d61b583 100644 --- a/actionpack/lib/action_controller/components.rb +++ b/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] ) )