diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-01-28 15:31:11 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-01-28 15:31:11 +0000 |
commit | 8918a0a3fc24160160c1a7c0a7a642437ea9eae4 (patch) | |
tree | 94f00ab8777da45c5a5e69f7e8564338dbc0e472 /app/controllers/application_controller.rb | |
parent | 6d704badf6d0154b8f754d5b72b21d849c8d145c (diff) | |
parent | 2977949f4bf9d1cb079e9ac7e95d4e0963093ac1 (diff) |
Merge branch 'master' of https://github.com/crowbot/alaveteli
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8af2af528..5420499f6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -12,6 +12,8 @@ class ApplicationController < ActionController::Base # Standard headers, footers and navigation for whole site layout "default" + # scrub sensitive parameters from the logs + filter_parameter_logging :password # Help work out which request causes RAM spike. # http://www.codeweblog.com/rails-to-monitor-the-process-of-memory-leaks-skills/ |