Sha256: 097c737c48f44e85b68cafe170bd7d4537f7cd1badf1557b0013bb04f7ecb02d

Contents?: true

Size: 180 Bytes

Versions: 2

Compression:

Stored size: 180 Bytes

Contents

class AjaxFailure < Devise::FailureApp

  def http_auth?
    false
  end

  def redirect_url
    send(:"new_#{scope}_session_path", format: (request.xhr? ? 'js' : nil))
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pineapples-0.3.345 lib/pineapples/templates/lib/devise!=devise!/ajax_failure!=ajax_login!.rb
pineapples-0.3.34 lib/pineapples/templates/lib/devise!=devise!/ajax_failure.rb