Method: ActionDispatch::Http::FilterParameters#filtered_path
- Defined in:
- actionpack/lib/action_dispatch/http/filter_parameters.rb
#filtered_path ⇒ Object
Reconstructs a path with all sensitive GET parameters replaced.
45 46 47 |
# File 'actionpack/lib/action_dispatch/http/filter_parameters.rb', line 45 def filtered_path @filtered_path ||= query_string.empty? ? path : "#{path}?#{filtered_query_string}" end |