Sha256: 8f61a1c10245fe6e97afd54af238c58c1fd42aec8985c601736d64fa87934a5a

Contents?: true

Size: 825 Bytes

Versions: 13

Compression:

Stored size: 825 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcesses
    module Admin
      # Controller that allows managing all the attachment collections for
      # a participatory process.
      #
      class ParticipatoryProcessAttachmentCollectionsController < Decidim::Admin::ApplicationController
        include Decidim::Admin::Concerns::HasAttachmentCollections
        include Concerns::ParticipatoryProcessAdmin
        include Decidim::Admin::Concerns::HasTabbedMenu

        def after_destroy_path
          participatory_process_attachment_collections_path(current_participatory_process)
        end

        def collection_for
          current_participatory_process
        end

        private

        def tab_menu_name = :participatory_process_admin_attachments_menu
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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