Sha256: 0aceabf11aa554743b2a5390990a47cc2c50ce462d9661572abed17b01158b84
Contents?: true
Size: 685 Bytes
Versions: 5
Compression:
Stored size: 685 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies module Admin # Controller that allows managing all the attachment collections for an assembly. # class AssemblyAttachmentCollectionsController < Decidim::Admin::ApplicationController include Concerns::AssemblyAdmin include Decidim::Admin::Concerns::HasAttachmentCollections def after_destroy_path assembly_attachment_collections_path(current_assembly) end def collection_for current_assembly end def authorization_object @attachment_collection || AttachmentCollection end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems