Module: Protege::BroadcastableResponsibility
- Extended by:
- ActiveSupport::Concern
- Included in:
- Responsibility
- Defined in:
- app/models/concerns/protege/broadcastable_responsibility.rb
Overview
Drives real-time Turbo Stream broadcasting for Responsibility records — keeping the (global)
Responsibilities sidebar live: the row is appended on create, replaced on update, and removed on
destroy. First-page viewers subscribe via turbo_stream_from "protege:responsibilities" (see
SidebarHelper#sidebar_stream).
Constant Summary collapse
- STREAM =
Turbo Stream channel for all
Responsibilityrecords. 'protege:responsibilities'