Class: Groseillier::Devise::FailureApp

Inherits:
Devise::FailureApp
  • Object
show all
Defined in:
lib/groseillier/devise/failure_app.rb

Class Method Summary collapse

Class Method Details

.default_url_options(*args) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/groseillier/devise/failure_app.rb', line 4

def self.default_url_options(*args)
  if defined?(AdminController)
    AdminController.default_url_options(*args)
  else
    {}
  end
end