aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-04-20 11:44:10 -0400
committerGitHub <noreply@github.com>2018-04-20 11:44:10 -0400
commit248197370c8cc30adf1c2366aea58db6dfb3619b (patch)
treec8b5bde8e05a3b5adac3657f26784102b9f1fe3a /actionpack/lib/action_dispatch
parent357559feea1e41afbe48f3c70215d9cd67f04021 (diff)
parent71a006df0eaff580bf0badfb88197d531177e5e8 (diff)
downloadrails-248197370c8cc30adf1c2366aea58db6dfb3619b.tar.gz
rails-248197370c8cc30adf1c2366aea58db6dfb3619b.tar.bz2
rails-248197370c8cc30adf1c2366aea58db6dfb3619b.zip
Merge pull request #32665 from albertoalmagro/fix-typos-filter-parameters
Fix typos related to ActionDispatch::Http::FilterParameters
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/http/filter_parameters.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/filter_parameters.rb b/actionpack/lib/action_dispatch/http/filter_parameters.rb
index ec86b8bc47..ec012ad02d 100644
--- a/actionpack/lib/action_dispatch/http/filter_parameters.rb
+++ b/actionpack/lib/action_dispatch/http/filter_parameters.rb
@@ -9,8 +9,8 @@ module ActionDispatch
# sub-hashes of the params hash to filter. Filtering only certain sub-keys
# from a hash is possible by using the dot notation: 'credit_card.number'.
# If a block is given, each key and value of the params hash and all
- # sub-hashes is passed to it, where the value or the key can be replaced using
- # String#replace or similar method.
+ # sub-hashes are passed to it, where the value or the key can be replaced using
+ # String#replace or similar methods.
#
# env["action_dispatch.parameter_filter"] = [:password]
# => replaces the value to all keys matching /password/i with "[FILTERED]"