aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/cookies.rb
diff options
context:
space:
mode:
authorGuillaume Malette <gmalette@gmail.com>2014-01-31 03:50:09 +0000
committerGuillaume Malette <guillaume@shopify.com>2015-06-22 10:04:11 -0400
commit33b93174f0db9783b3c6c906666923103569c6a3 (patch)
tree2cdbdefab1159e4c8d1f17ceb4bb58b27ddb02f1 /actionpack/lib/action_dispatch/middleware/cookies.rb
parentebc4c607a7859c9c35246d7fe74a17208ef3a66e (diff)
downloadrails-33b93174f0db9783b3c6c906666923103569c6a3.tar.gz
rails-33b93174f0db9783b3c6c906666923103569c6a3.tar.bz2
rails-33b93174f0db9783b3c6c906666923103569c6a3.zip
Allow filtering params based on parent keys
Add the possibility to only filter parameters based on their full path instead of relying on the immediate key. config.filter_parameters += ['credit_card.code'] { 'credit_card' => { 'code' => '[FILTERED]' }, 'source' => { 'code' => '<%= puts 5 %>' } }
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/cookies.rb')
0 files changed, 0 insertions, 0 deletions