aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAlberto Almagro <albertoalmagro@gmail.com>2018-04-20 13:22:48 +0200
committerAlberto Almagro <albertoalmagro@gmail.com>2018-04-20 13:22:48 +0200
commit78d00b079e4d186eb1a3d99912a057f5fae79495 (patch)
tree5ef03183587bdba9aa2b57f72f674ec408f82c29 /actionpack
parentddca53e067e944faca8b0c57db2b29bb1f0df0d9 (diff)
downloadrails-78d00b079e4d186eb1a3d99912a057f5fae79495.tar.gz
rails-78d00b079e4d186eb1a3d99912a057f5fae79495.tar.bz2
rails-78d00b079e4d186eb1a3d99912a057f5fae79495.zip
[ci skip] Fix doc typos ActionDispatch::Http::FilterParameters
Fixes two documentation typos found at ActionDispatch::Http::FilterParameters
Diffstat (limited to 'actionpack')
-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]"