Module: Testimonials::RequestContext
- Extended by:
- ActiveSupport::Concern
- Included in:
- ApplicationController, DashboardController
- Defined in:
- app/controllers/concerns/testimonials/request_context.rb
Overview
Who is asking, which tenant they are in, and the gates that answer both.
A concern rather than inherited behaviour because the engine has two
controller roots: the public endpoints hang off ActionController::Base, and
the dashboard hangs off whatever the host set as base_controller_class.
Both need everything here.