From 9086f61b8e1e861aecd6896d97ac59defec1f7dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 22 May 2014 11:49:29 -0300 Subject: Fix the hash key being delete from env It was changed by mistake at c5d64b2b86aa42f57881091491ee289b3c489c7e. --- actionpack/lib/action_dispatch/http/parameters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3