aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/http
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-01-05 13:54:40 -0800
committerJosé Valim <jose.valim@gmail.com>2012-01-05 13:54:40 -0800
commit798b5efedb7c6f10e606cf87546af34c1744e76f (patch)
tree096b03b0972a630ec54e91840123a8a0eca76540 /actionpack/lib/action_dispatch/http
parent4751cc21e8893f1cec827c8dcdf876db43e91556 (diff)
parent2e487bc65816b1dec3d444a8a6f80aaef7eb68d3 (diff)
downloadrails-798b5efedb7c6f10e606cf87546af34c1744e76f.tar.gz
rails-798b5efedb7c6f10e606cf87546af34c1744e76f.tar.bz2
rails-798b5efedb7c6f10e606cf87546af34c1744e76f.zip
Merge pull request #4333 from rafaelfranca/patch-1
Change more Array.wrap calls
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
-rw-r--r--actionpack/lib/action_dispatch/http/filter_parameters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/filter_parameters.rb b/actionpack/lib/action_dispatch/http/filter_parameters.rb
index 8dd1af7f3d..02a15ad599 100644
--- a/actionpack/lib/action_dispatch/http/filter_parameters.rb
+++ b/actionpack/lib/action_dispatch/http/filter_parameters.rb
@@ -50,7 +50,7 @@ module ActionDispatch
end
def env_filter
- parameter_filter_for(Array.wrap(@env["action_dispatch.parameter_filter"]) << /RAW_POST_DATA/)
+ parameter_filter_for(Array(@env["action_dispatch.parameter_filter"]) << /RAW_POST_DATA/)
end
def parameter_filter_for(filters)