Module: ActionDispatch::Http::FilterRedirect

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

Constant Summary collapse

FILTERED =

:nodoc:

'[FILTERED]'.freeze

Instance Method Summary collapse

Instance Method Details

#filtered_locationObject


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

def filtered_location
  if !location_filter.empty? && location_filter_match?
    FILTERED
  else
    location
  end
end