class CustomFailure

Public Instance Methods

redirect_url() click to toggle source
# File lib/custom_failure.rb, line 2
def redirect_url
  root_path
end
respond() click to toggle source
# File lib/custom_failure.rb, line 6
def respond
  if http_auth?
    http_auth
  else
    redirect
  end
end