Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 3927

Show
Ignore:
Timestamp:
03/18/06 16:11:21 (2 years ago)
Author:
david
Message:

Just use a normal update on the indifferent hash

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/components.rb

    r3581 r3927  
    154154          request.instance_variable_set( 
    155155            :@parameters, 
    156             (options[:params] || {}).with_indifferent_access.regular_update( 
     156            (options[:params] || {}).with_indifferent_access.update( 
    157157              "controller" => controller_name, "action" => options[:action], "id" => options[:id] 
    158158            )