diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-21 16:50:11 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-21 16:52:49 +0100 |
commit | fc4f237864541f5012f9b8cc8e0ec81960377e55 (patch) | |
tree | af89be8dd26fe96044d4b9114f1cea1a4e6910cc /railties/lib/generators/rails/app | |
parent | 04063393f9392b83cf5ccd0a16f217cc7261e15c (diff) | |
download | rails-fc4f237864541f5012f9b8cc8e0ec81960377e55.tar.gz rails-fc4f237864541f5012f9b8cc8e0ec81960377e55.tar.bz2 rails-fc4f237864541f5012f9b8cc8e0ec81960377e55.zip |
Make filter parameters based on request, so they can be modified for anything in the middleware stack.
Diffstat (limited to 'railties/lib/generators/rails/app')
-rw-r--r-- | railties/lib/generators/rails/app/templates/config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/app/templates/config/application.rb b/railties/lib/generators/rails/app/templates/config/application.rb index ecebbc6146..78a355d2f4 100644 --- a/railties/lib/generators/rails/app/templates/config/application.rb +++ b/railties/lib/generators/rails/app/templates/config/application.rb @@ -32,6 +32,6 @@ module <%= app_const_base %> # end # Configure sensitive parameters which will be filtered from the log file. - config.filter_parameters :password + config.filter_parameters << :password end end |