Sha256: 0e64f7db3604fd7840fe6fd43f02a417051c8b0752e00f8976e87b707fac93d4
Contents?: true
Size: 540 Bytes
Versions: 13
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true require_dependency "decidim/admin/application_controller" module Decidim module Admin # Controller that allows managing all the attachments for a participatory # process. # class ParticipatoryProcessAttachmentsController < ApplicationController include Concerns::ParticipatoryProcessAdmin include Concerns::HasAttachments def attached_to participatory_process end def authorization_object @attachment || Attachment end end end end
Version data entries
13 entries across 13 versions & 2 rubygems