Module: ActiveAdmin::Devise::Controller

Extended by:
ActiveSupport::Concern
Included in:
PasswordsController, SessionsController
Defined in:
lib/active_admin/devise.rb

Instance Method Summary collapse

Instance Method Details

#root_pathObject

Redirect to the default namespace on logout



29
30
31
# File 'lib/active_admin/devise.rb', line 29

def root_path
  "/#{ActiveAdmin.application.default_namespace}"
end