Sha256: cdbe21a78deb25c102e5c2a9174eb7996847e6486e7fea1bbae734e28272918e
Contents?: true
Size: 709 Bytes
Versions: 2
Compression:
Stored size: 709 Bytes
Contents
# frozen_string_literal: true module Decidim module Budgets module Admin # Controller that allows managing all the attachment collections for a budget. # class AttachmentCollectionsController < Admin::ApplicationController include Decidim::Admin::Concerns::HasAttachmentCollections def after_destroy_path project_attachment_collections_path(project, project.feature, current_participatory_space) end def collection_for project end def project @project ||= projects.find(params[:project_id]) end def authorization_object project.feature end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems