Class: SagaForge::Dashboard::OverviewController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- BaseController
- SagaForge::Dashboard::OverviewController
- Defined in:
- app/controllers/saga_forge/dashboard/overview_controller.rb
Overview
Fleet summary. The index is a lightweight turbo-frame shell: the cheap
card totals render immediately, and the per-class GROUP BY (the one real
aggregate on this page) is isolated in its own lazy-loaded classes
frame so it never blocks the cards or the rest of the page.
Instance Method Summary collapse
Instance Method Details
#classes ⇒ Object
12 13 14 15 |
# File 'app/controllers/saga_forge/dashboard/overview_controller.rb', line 12 def classes @rows = OverviewQuery.new.rows render layout: false end |
#index ⇒ Object
8 9 10 |
# File 'app/controllers/saga_forge/dashboard/overview_controller.rb', line 8 def index @totals = OverviewQuery.new.totals end |