Sha256: 586de67d40093d7366192acc4598d4b3cbfd55c8f00cb094274474c4f77f70fb

Contents?: true

Size: 594 Bytes

Versions: 65

Compression:

Stored size: 594 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
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
decidim-assemblies-0.27.9 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.8 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.7 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.6 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.26.10 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.26.9 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.5 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.26.8 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.4 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.3 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.26.7 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.26.5 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.2 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.1 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.26.4 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.0 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.26.3 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.0.rc2 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.27.0.rc1 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.26.2 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb