diff options
author | Takumasa Ochi <4468155+aeroastro@users.noreply.github.com> | 2017-11-07 18:15:07 +0900 |
---|---|---|
committer | Takumasa Ochi <4468155+aeroastro@users.noreply.github.com> | 2017-11-07 18:15:07 +0900 |
commit | 5bbe6924529bc510d104b8bc3756a1e2f0a451dd (patch) | |
tree | 811e60e96432b9ab41d5f353c6eefe0431883582 /actionpack/lib/action_dispatch | |
parent | 9befc197f926272abbba5a1ca1323ce4f15ebd10 (diff) | |
download | rails-5bbe6924529bc510d104b8bc3756a1e2f0a451dd.tar.gz rails-5bbe6924529bc510d104b8bc3756a1e2f0a451dd.tar.bz2 rails-5bbe6924529bc510d104b8bc3756a1e2f0a451dd.zip |
Fix typo on ActionDispatc::HTTP::FilterParameters
Diffstat (limited to 'actionpack/lib/action_dispatch')
-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 b7141cc1b9..e50672e191 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 |