aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-22 11:49:29 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-22 11:49:29 -0300
commit9086f61b8e1e861aecd6896d97ac59defec1f7dd (patch)
tree97d80b9677006708b2b64cc6639637c75651b7e7 /actionpack/lib/action_dispatch
parent66dd216705c9401cfa559a52910df80bd9c7808b (diff)
downloadrails-9086f61b8e1e861aecd6896d97ac59defec1f7dd.tar.gz
rails-9086f61b8e1e861aecd6896d97ac59defec1f7dd.tar.bz2
rails-9086f61b8e1e861aecd6896d97ac59defec1f7dd.zip
Fix the hash key being delete from env
It was changed by mistake at c5d64b2b86aa42f57881091491ee289b3c489c7e.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/http/parameters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/parameters.rb b/actionpack/lib/action_dispatch/http/parameters.rb
index 378d7393ff..70e960488e 100644
--- a/actionpack/lib/action_dispatch/http/parameters.rb
+++ b/actionpack/lib/action_dispatch/http/parameters.rb
@@ -25,7 +25,7 @@ module ActionDispatch
def path_parameters=(parameters) #:nodoc:
@symbolized_path_params = nil
- @env.delete(Routing::RouteSet::PARAMETERS_KEY)
+ @env.delete('action_dispatch.request.parameters')
@env[Routing::RouteSet::PARAMETERS_KEY] = parameters
end