Sha256: 11cd76d2f2d275075b0da5e50a1cfbe739844a07d7db558bd1b24d75df47e66b
Contents?: true
Size: 697 Bytes
Versions: 7
Compression:
Stored size: 697 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::Assemblies::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
7 entries across 7 versions & 1 rubygems