diff options
author | José Valim <jose.valim@gmail.com> | 2010-04-07 00:45:56 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-04-07 01:42:51 +0200 |
commit | eb063538bd58c915c953e4b8a295d3a1b1a321d5 (patch) | |
tree | 8188f4ba64f637f6083dc3a4dc68b6aae804eb97 /actionpack/lib/action_dispatch/middleware/templates | |
parent | 4c4fd1a60ff1c060e76e9ee540074756510f53ea (diff) | |
download | rails-eb063538bd58c915c953e4b8a295d3a1b1a321d5.tar.gz rails-eb063538bd58c915c953e4b8a295d3a1b1a321d5.tar.bz2 rails-eb063538bd58c915c953e4b8a295d3a1b1a321d5.zip |
Use config.filter_parameters on in-browser request dump. [#4335 state:resolved]
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb index 839df50999..09ff052fd0 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb @@ -6,7 +6,7 @@ <% end %> <% - clean_params = @request.parameters.clone + clean_params = @request.filtered_parameters.clone clean_params.delete("action") clean_params.delete("controller") |