Sha256: b9d7622212f25167831f46941ea7876fa13f92354aeb94ec6bf941a480bbf807

Contents?: true

Size: 632 Bytes

Versions: 72

Compression:

Stored size: 632 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcesses
    module Admin
      # Controller that allows managing all the attachments for a participatory
      # process.
      #
      class ParticipatoryProcessAttachmentsController < Decidim::Admin::ApplicationController
        include Concerns::ParticipatoryProcessAdmin
        include Decidim::Admin::Concerns::HasAttachments

        def after_destroy_path
          participatory_process_attachments_path(current_participatory_process)
        end

        def attached_to
          current_participatory_process
        end
      end
    end
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.15.0 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.14.4 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.14.3 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.14.2 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.14.1 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.13.1 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.12.2 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.13.0 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.12.1 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.13.0.pre1 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.12.0 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.12.0.pre app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb