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