Class: ActiveAdmin::BaseController

Inherits:
InheritedResources::Base
  • Object
show all
Includes:
Authorization, Menu
Defined in:
lib/active_admin/base_controller.rb,
lib/active_admin/base_controller/menu.rb,
lib/active_admin/base_controller/authorization.rb

Overview

BaseController for ActiveAdmin. It implements ActiveAdmin controllers core features.

Direct Known Subclasses

PageController, ResourceController

Defined Under Namespace

Modules: Authorization, Menu

Constant Summary

Constants included from Authorization

Authorization::ACTIONS_DICTIONARY

Class Attribute Summary collapse

Method Summary

Methods included from Menu

#current_menu, #set_current_tab

Methods included from Authorization

#action_to_permission, #active_admin_authorization, #active_admin_authorization_adapter, #authorize!, #authorize_resource!, #authorized?, #dispatch_active_admin_access_denied, #redirect_backwards_or_to_root, #rescue_active_admin_access_denied

Class Attribute Details

.active_admin_configObject

Reference to the Resource object which initialized this controller



22
23
24
# File 'lib/active_admin/base_controller.rb', line 22

def active_admin_config
  @active_admin_config
end