diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-28 15:34:59 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-28 15:34:59 -0600 |
commit | c20c72e3d9321f8c00587aab479d962e80b02c35 (patch) | |
tree | 726cb007f39811ae711eba56f0d5439c349422fa /actionpack | |
parent | 5d89605c11cc54acadfdd76ccd226d38989ec600 (diff) | |
download | rails-c20c72e3d9321f8c00587aab479d962e80b02c35.tar.gz rails-c20c72e3d9321f8c00587aab479d962e80b02c35.tar.bz2 rails-c20c72e3d9321f8c00587aab479d962e80b02c35.zip |
Use rack namespace for routing args
Diffstat (limited to 'actionpack')
-rwxr-xr-x | actionpack/lib/action_controller/request.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/request.rb b/actionpack/lib/action_controller/request.rb index ba27c0d294..822955d1db 100755 --- a/actionpack/lib/action_controller/request.rb +++ b/actionpack/lib/action_controller/request.rb @@ -398,7 +398,7 @@ EOM end def path_parameters=(parameters) #:nodoc: - @env["routing_args"] = parameters + @env["rack.routing_args"] = parameters @symbolized_path_parameters = @parameters = nil end @@ -414,7 +414,7 @@ EOM # # See <tt>symbolized_path_parameters</tt> for symbolized keys. def path_parameters - @env["routing_args"] ||= {} + @env["rack.routing_args"] ||= {} end def body |