From 406b1b64649f48bdd724826a05c06fb78f5378ea Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 27 May 2014 14:24:30 -0700 Subject: rm reset_parameters because we automatically do it from 9ca4839a --- actionpack/lib/action_dispatch/http/parameters.rb | 4 ---- actionpack/lib/action_dispatch/routing/mapper.rb | 2 -- 2 files changed, 6 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_dispatch/http/parameters.rb b/actionpack/lib/action_dispatch/http/parameters.rb index 5b22cd1fcd..ff555f93a8 100644 --- a/actionpack/lib/action_dispatch/http/parameters.rb +++ b/actionpack/lib/action_dispatch/http/parameters.rb @@ -43,10 +43,6 @@ module ActionDispatch @env[Routing::RouteSet::PARAMETERS_KEY] ||= {} end - def reset_parameters #:nodoc: - @env.delete("action_dispatch.request.parameters") - end - private # Convert nested Hash to HashWithIndifferentAccess diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 70c3b18e15..84a08770f5 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -51,8 +51,6 @@ module ActionDispatch else @app.call req.env end - ensure - req.reset_parameters end private -- cgit v1.2.3