Sha256: 9c73a785344de31f13e645c8e62e6fae2c5f64b97b6bb0803674b56870465f75
Contents?: true
Size: 643 Bytes
Versions: 7
Compression:
Stored size: 643 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 < Decidim::Meetings::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.component end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems