Sha256: c5e9f07e7ca47d8368eff37dad56e6c24c940968b3ff0f9db79874667a1aa130
Contents?: true
Size: 652 Bytes
Versions: 7
Compression:
Stored size: 652 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies module Admin # Controller that allows managing all the attachments for a participatory # assembly. # class AssemblyAttachmentsController < Decidim::Assemblies::Admin::ApplicationController include Concerns::AssemblyAdmin include Decidim::Admin::Concerns::HasAttachments def after_destroy_path assembly_attachments_path(current_assembly) end def attached_to current_assembly end def authorization_object @attachment || Attachment end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems