Sha256: edbab4db8f643be8b5d4ad1656a1d7b3873f2c63c1798831f75682861098b1fb
Contents?: true
Size: 666 Bytes
Versions: 60
Compression:
Stored size: 666 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences module Admin # Controller that allows managing all the attachments for a participatory # conference. # class ConferenceAttachmentsController < Decidim::Conferences::Admin::ApplicationController include Concerns::ConferenceAdmin include Decidim::Admin::Concerns::HasAttachments def after_destroy_path conference_attachments_path(current_conference) end def attached_to current_conference end def authorization_object @attachment || Attachment end end end end end
Version data entries
60 entries across 60 versions & 1 rubygems