Module: ActionDispatch::Http::FilterRedirect

Included in:
Response
Defined in:
actionpack/lib/action_dispatch/http/filter_redirect.rb

Constant Summary collapse

FILTERED =

:nodoc:

"[FILTERED]"

Instance Method Summary collapse

Instance Method Details

#filtered_locationObject

:nodoc:



8
9
10
11
12
13
14
# File 'actionpack/lib/action_dispatch/http/filter_redirect.rb', line 8

def filtered_location # :nodoc:
  if location_filter_match?
    FILTERED
  else
    location
  end
end