aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-05-30 12:21:17 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-05-30 12:21:17 -0700
commit47f4d8d513ed5bb4516cd1175889fcabfb361263 (patch)
treeebeb5de3e7f00f24f3d2557f13f18b8fbe136842 /actionpack/lib/action_dispatch/middleware
parent87f3eb61c641610f758e27c6c25c92b637ad3041 (diff)
parent5438f6866efa679331e5c998ecbc5948e80cd503 (diff)
downloadrails-47f4d8d513ed5bb4516cd1175889fcabfb361263.tar.gz
rails-47f4d8d513ed5bb4516cd1175889fcabfb361263.tar.bz2
rails-47f4d8d513ed5bb4516cd1175889fcabfb361263.zip
Merge pull request #10803 from gsamokovarov/extract-deep-munge
Extract ActionDispatch::Request#deep_munge
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r--actionpack/lib/action_dispatch/middleware/params_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/params_parser.rb b/actionpack/lib/action_dispatch/middleware/params_parser.rb
index 0fa1e9b859..fb70b60ef6 100644
--- a/actionpack/lib/action_dispatch/middleware/params_parser.rb
+++ b/actionpack/lib/action_dispatch/middleware/params_parser.rb
@@ -43,7 +43,7 @@ module ActionDispatch
when :json
data = ActiveSupport::JSON.decode(request.body)
data = {:_json => data} unless data.is_a?(Hash)
- request.deep_munge(data).with_indifferent_access
+ Request::Utils.deep_munge(data).with_indifferent_access
else
false
end