Sha256: 09faf281ed85e6283ff7d0866e474bd8a199c26b5099acc68063b36953bf3834
Contents?: true
Size: 304 Bytes
Versions: 44
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true module Decidim # # Decorator for attachments # class AttachmentPresenter < SimpleDelegator def attachment_file_url attachment.attached_uploader(:file).url(host: attached_to.organization.host) end def attachment __getobj__ end end end
Version data entries
44 entries across 44 versions & 1 rubygems