Class: ActiveAdmin::PageController

Inherits:
BaseController
  • Object
show all
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::Authorization

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

Methods included from MethodOrProcHelper

#call_method_or_exec_proc, #call_method_or_proc_on, #render_in_context, #render_or_call_method_or_proc_on

Methods included from BaseController::Menu

#current_menu, #set_current_tab

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(options={}, &block)
  render "active_admin/page/index"
end