Sha256: d1eee1091d8a380dce55300f755e9c1b28f43efa8e35b7c24b73c2b46b33abc5
Contents?: true
Size: 435 Bytes
Versions: 6
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true module Decidim # A Helper to render and link to resources. module AttachmentsHelper # Renders a the attachments of a model that includes the # HasAttachments concern. # # attached_to - The model to render the attachments from. # # Returns nothing. def attachments_for(attached_to) render partial: "attachments", locals: { attached_to: attached_to } end end end
Version data entries
6 entries across 6 versions & 1 rubygems