Module: Livechat::RequestContext

Extended by:
ActiveSupport::Concern
Included in:
ApplicationController, DashboardController
Defined in:
app/controllers/concerns/livechat/request_context.rb

Overview

Who is asking — visitor or agent — and the gates that answer it.

A concern rather than inherited behaviour because the engine has two controller roots: the widget's endpoints hang off ActionController::Base, and the inbox hangs off whatever the host set as base_controller_class.