Class: ActionAgent::DashboardController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ActionAgent::DashboardController
- Defined in:
- app/controllers/action_agent/dashboard_controller.rb
Overview
Serves the React dashboard.
Every path under the mount renders this one action; routing below it happens in the browser. Initial state is handed over as a JSON data attribute rather than through Inertia, so the engine works in any host app without adding a frontend framework to it.
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
15 16 17 |
# File 'app/controllers/action_agent/dashboard_controller.rb', line 15 def index render "action_agent/dashboard/index", locals: { props: props } end |