Class: Livechat::AttachmentsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Livechat::AttachmentsController
- Defined in:
- app/controllers/livechat/attachments_controller.rb
Overview
Serves message attachments through the engine — never a public Active Storage URL — so every download is gated the same way the rest of the chat is: you get the file only if you can work the inbox, or you are the visitor whose conversation it belongs to. Streamed inline (not redirected to a signed blob URL), so no long-lived link ever escapes the gate.