Class: ActiveAdmin::PageController
- Inherits:
-
BaseController
- Object
- InheritedResources::Base
- BaseController
- ActiveAdmin::PageController
- Defined in:
- lib/active_admin/page_controller.rb
Overview
All Pages controllers inherit from this controller.
Constant Summary collapse
- ACTIVE_ADMIN_ACTIONS =
Active admin actions don’t require layout. All custom actions do.
[:index]
Constants included from BaseController::Authorization
BaseController::Authorization::ACTIONS_DICTIONARY
Instance Method Summary collapse
Methods inherited from BaseController
#only_render_implemented_actions
Methods included from BaseController::Menu
#current_menu, #set_current_tab
Methods included from BaseController::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
Instance Method Details
#clear_page_actions! ⇒ Object
17 18 19 |
# File 'lib/active_admin/page_controller.rb', line 17 def clear_page_actions! active_admin_config.clear_page_actions! end |
#index(options = {}, &block) ⇒ Object
13 14 15 |
# File 'lib/active_admin/page_controller.rb', line 13 def index( = {}, &block) render "active_admin/page/index" end |