Module: Decidim::Admin::Concerns::HasAttachmentCollections

Extended by:
ActiveSupport::Concern
Defined in:
app/controllers/decidim/admin/concerns/has_attachment_collections.rb

Overview

Attachment collections can be related to an attachment, in order to manage the attachment collections for a given type, you should create a new controller and include this concern.

The only requirement is to define a ‘collection_for` method that returns an instance of the model that will hold the attachment collection.