Sha256: 7567e59a50707a3f842c08eb5c0643d1aa932f47a0f2e58f3dfad341cce70e23
Contents?: true
Size: 717 Bytes
Versions: 18
Compression:
Stored size: 717 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.id) end def attached_to current_participatory_process end def authorization_object @attachment || Attachment end end end end end
Version data entries
18 entries across 18 versions & 2 rubygems