Class: ActiveAdmin::PageController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/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

#index(options = {}, &block) ⇒ Object



14
15
16
# File 'app/controllers/active_admin/page_controller.rb', line 14

def index(options = {}, &block)
  render "active_admin/page/index"
end