Class: ActiveAdmin::BaseController
- Inherits:
-
InheritedResources::Base
- Object
- InheritedResources::Base
- ActiveAdmin::BaseController
- 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
Defined Under Namespace
Modules: Authorization, Menu
Constant Summary
Constants included from Authorization
Authorization::ACTIONS_DICTIONARY
Class Attribute Summary collapse
-
.active_admin_config ⇒ Object
Reference to the Resource object which initialized this controller.
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_config ⇒ Object
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 |