Module: ActiveAdmin::Devise

Defined in:
lib/active_admin/devise.rb

Defined Under Namespace

Modules: Controller Classes: PasswordsController, SessionsController

Class Method Summary collapse

Class Method Details

.configObject



6
7
8
9
10
11
12
# File 'lib/active_admin/devise.rb', line 6

def self.config
  {
    :path => ActiveAdmin.application.default_namespace,
    :controllers => ActiveAdmin::Devise.controllers,
    :path_names => { :sign_in => 'login', :sign_out => "logout" }
  }
end

.controllersObject



14
15
16
17
18
19
# File 'lib/active_admin/devise.rb', line 14

def self.controllers
  {
    :sessions => "active_admin/devise/sessions",
    :passwords => "active_admin/devise/passwords"
  }
end