Class: Admin::DashboardController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Admin::DashboardController
- Defined in:
- lib/generators/ruby_cms/templates/controllers/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
Instance Method Details
#index ⇒ Object
8 9 10 11 12 13 |
# File 'lib/generators/ruby_cms/templates/controllers/admin/dashboard_controller.rb', line 8 def index assign_counts assign_recent_activity assign_analytics_overview_stats assign_dashboard_blocks end |