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.27.9 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.8 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.7 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.6 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.26.10 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.26.9 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.5 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.26.8 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.4 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.3 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.26.7 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.26.5 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.2 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.1 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.26.4 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.0 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.26.3 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.0.rc2 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.27.0.rc1 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb
decidim-participatory_processes-0.26.2 app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb