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
Instance Method Details
#clear_page_actions! ⇒ Object
18 19 20 |
# File 'lib/active_admin/page_controller.rb', line 18 def clear_page_actions! active_admin_config.clear_page_actions! end |
#index(options = {}, &block) ⇒ Object
14 15 16 |
# File 'lib/active_admin/page_controller.rb', line 14 def index( = {}, &block) render "active_admin/page/index" end |