Class: MatViews::Admin::DashboardController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- MatViews::Admin::DashboardController
- Defined in:
- app/controllers/mat_views/admin/dashboard_controller.rb
Overview
MatViews::Admin::DashboardController
Controller for the MatViews admin dashboard.
Responsibilities:
-
Provides the landing page (
index) for the admin interface. -
Authorizes access via ApplicationController#authorize_mat_views!.
-
Prepares placeholder metrics content (future: aggregated refresh metrics).
Instance Method Summary collapse
-
#index ⇒ void
GET /:lang/admin.
Methods included from AuthBridge
Instance Method Details
#index ⇒ void
This method returns an undefined value.
GET /:lang/admin
Renders the admin dashboard. Currently sets a placeholder message until metric aggregation is implemented.
26 27 28 29 |
# File 'app/controllers/mat_views/admin/dashboard_controller.rb', line 26 def index (:read, :mat_views_dashboard) @metrics_note = 'Metrics coming soon (see: Aggregate refresh metrics for reporting).' end |