Method: Devise::FailureApp#respond

Defined in:
lib/devise/failure_app.rb

#respondObject



42
43
44
45
46
47
48
49
50
# File 'lib/devise/failure_app.rb', line 42

def respond
  if http_auth?
    http_auth
  elsif warden_options[:recall]
    recall
  else
    redirect
  end
end