diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-22 11:49:29 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-22 11:49:29 -0300 |
commit | 9086f61b8e1e861aecd6896d97ac59defec1f7dd (patch) | |
tree | 97d80b9677006708b2b64cc6639637c75651b7e7 | |
parent | 66dd216705c9401cfa559a52910df80bd9c7808b (diff) | |
download | rails-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.
-rw-r--r-- | actionpack/lib/action_dispatch/http/parameters.rb | 2 |
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 |