instance method
filtered_path
Ruby on Rails 5.2.8.1
Since v3.0.20Signature
filtered_path()
Reconstructs a path with all sensitive GET parameters replaced.
Source
# File actionpack/lib/action_dispatch/http/filter_parameters.rb, line 52
def filtered_path
@filtered_path ||= query_string.empty? ? path : "#{path}?#{filtered_query_string}"
end
Defined in actionpack/lib/action_dispatch/http/filter_parameters.rb line 52
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::FilterParameters