Class: ActiveAdmin::Dashboards::DashboardController

Inherits:
ResourceController show all
Defined in:
lib/active_admin/dashboards/dashboard_controller.rb

Constant Summary

Constants inherited from ResourceController

ResourceController::ACTIVE_ADMIN_ACTIONS

Instance Method Summary collapse

Methods inherited from ResourceController

active_admin_config=, #active_admin_template, #create, #csv_filename, #edit, inherited, #new, #show, #update

Methods included from ResourceController::ResourceClassMethods

#override_resource_class_methods!

Methods included from ResourceController::Scoping

#begin_of_association_chain, #method_for_association_chain

Methods included from ResourceController::Filters

#filters_config

Methods included from ResourceController::Collection::Pagination

#active_admin_collection, #paginate, #setup_pagination_for_csv

Methods included from ResourceController::Collection::Scoping

#active_admin_collection, #current_scope, #scope_current_collection

Methods included from ScopeChain

#scope_chain

Methods included from ResourceController::Collection::Search

#active_admin_collection, #clean_search_params, #search

Methods included from ResourceController::Collection::Sorting

#active_admin_collection, #sort_order

Methods included from ResourceController::Collection::BaseCollection

#active_admin_collection, #collection, #scoped_collection

Methods inherited from BaseController

#only_render_implemented_actions

Instance Method Details

#indexObject



7
8
9
10
# File 'lib/active_admin/dashboards/dashboard_controller.rb', line 7

def index
  @dashboard_sections = find_sections
  render 'active_admin/dashboard/index.html.arb'
end