Sha256: bd917417ce9576d26e95e5e323aeedda4713b0fc4a7c2d4358636d8dca37771c
Contents?: true
Size: 627 Bytes
Versions: 8
Compression:
Stored size: 627 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin # Controller that allows managing all the attachments for a participatory # process. # class ParticipatoryProcessAttachmentsController < Decidim::Admin::ApplicationController include Concerns::ParticipatoryProcessAdmin include 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
Version data entries
8 entries across 8 versions & 2 rubygems