Class: ActionAgent::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- ActionAgent::ApplicationController
- Defined in:
- app/controllers/action_agent/application_controller.rb
Overview
Base controller for the ActiveAgent Dashboard.
Handles authentication and provides helper methods for multi-tenant mode.
Direct Known Subclasses
ActionAgent::Api::BaseController, ActionAgent::Api::InstanceTiersController, DashboardController, TracesController
Class Method Summary collapse
-
.allow_unauthenticated_access(**options) ⇒ Object
Opts an action out of the host app's authentication — for the handful of endpoints that are deliberately public (the template gallery, the demo sandbox).
Class Method Details
.allow_unauthenticated_access(**options) ⇒ Object
Opts an action out of the host app's authentication — for the handful of endpoints that are deliberately public (the template gallery, the demo sandbox). Mirrors the Rails 8 authentication generator's helper so controllers read the same either side of the extraction.
21 22 23 |
# File 'app/controllers/action_agent/application_controller.rb', line 21 def self.allow_unauthenticated_access(**) skip_before_action :authenticate_dashboard!, ** end |