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

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.