Sha256: 42ce52494614a3922cfbe1b76ecccaf44b82f5fa2f15eafc4d149052a74ed15e

Contents?: true

Size: 731 Bytes

Versions: 13

Compression:

Stored size: 731 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
        include Decidim::Admin::Concerns::HasTabbedMenu

        def after_destroy_path
          assembly_attachment_collections_path(current_assembly)
        end

        def collection_for
          current_assembly
        end

        private

        def tab_menu_name = :assemblies_admin_attachments_menu
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-assemblies-0.29.1 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.28.4 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.29.0 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.28.3 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.29.0.rc4 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.29.0.rc3 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.29.0.rc2 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.29.0.rc1 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.28.2 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.28.1 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.28.0 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.28.0.rc5 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb
decidim-assemblies-0.28.0.rc4 app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb