Class: RubyCms::Admin::DashboardController

Inherits:
BaseController show all
Defined in:
app/controllers/ruby_cms/admin/dashboard_controller.rb

Constant Summary collapse

PRIMARY_MAIN_ROW_KEYS =

First main row: quick actions, recent errors, analytics (fixed keys). Remaining :main blocks render below (host/custom).

%i[quick_actions recent_errors analytics_overview].freeze

Instance Method Summary collapse

Methods inherited from BaseController

cms_page, #current_user_cms

Instance Method Details

#indexObject



9
10
11
12
13
14
# File 'app/controllers/ruby_cms/admin/dashboard_controller.rb', line 9

def index
  assign_counts
  assign_recent_activity
  assign_analytics_overview_stats
  assign_dashboard_blocks
end