diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-11-09 00:53:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-09 00:53:39 -0500 |
commit | 25f926f1cd95f6e35c924c2dc54c3ccd48d8a7a2 (patch) | |
tree | d3d04f7b7e08293f190d7a7bf4e87c7fd0bcb8fe /actionpack/lib | |
parent | fa7f42d63400e3a452a2de2316a43351f6e03f6f (diff) | |
parent | 5bbe6924529bc510d104b8bc3756a1e2f0a451dd (diff) | |
download | rails-25f926f1cd95f6e35c924c2dc54c3ccd48d8a7a2.tar.gz rails-25f926f1cd95f6e35c924c2dc54c3ccd48d8a7a2.tar.bz2 rails-25f926f1cd95f6e35c924c2dc54c3ccd48d8a7a2.zip |
Merge pull request #31078 from aeroastro/feature/fix-typo
Fix typoes on ActionDispatch::HTTP::FilterParameters
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/http/filter_parameters.rb | 4 |
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 41a47f2c82..ec86b8bc47 100644 --- a/actionpack/lib/action_dispatch/http/filter_parameters.rb +++ b/actionpack/lib/action_dispatch/http/filter_parameters.rb @@ -9,7 +9,7 @@ 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, the value or key can be replaced using + # sub-hashes is passed to it, where the value or the key can be replaced using # String#replace or similar method. # # env["action_dispatch.parameter_filter"] = [:password] @@ -48,7 +48,7 @@ module ActionDispatch @filtered_env ||= env_filter.filter(@env) end - # Reconstructed a path with all sensitive GET parameters replaced. + # Reconstructs a path with all sensitive GET parameters replaced. def filtered_path @filtered_path ||= query_string.empty? ? path : "#{path}?#{filtered_query_string}" end |