Sha256: 755a00fc998b51f8d05b8759781f6241a1b48702480857404158b853f584ae08
Contents?: true
Size: 622 Bytes
Versions: 56
Compression:
Stored size: 622 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings module Admin # Controller that allows managing all the attachments for a participatory # process. # class AttachmentsController < Admin::ApplicationController include Decidim::Admin::Concerns::HasAttachments def after_destroy_path meetings_path end def attached_to meeting end def meeting @meeting ||= meetings.find(params[:meeting_id]) end def authorization_object meeting.feature end end end end end
Version data entries
56 entries across 56 versions & 2 rubygems