Module: Dscf::Marketplace::AttachmentUrls

Extended by:
ActiveSupport::Concern
Included in:
Agent, Product, Supplier
Defined in:
app/models/concerns/dscf/marketplace/attachment_urls.rb

Overview

Shared Active Storage URL helpers. Produces a host-aware proxy URL that works behind the API's /api script_name — unlike only_path: true, which drops the script_name and 404s when the client resolves the path.