Module: Ideasbugs::RequestContext

Extended by:
ActiveSupport::Concern
Included in:
ApplicationController, DashboardController
Defined in:
app/controllers/concerns/ideasbugs/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.