Sha256: af45e3712ab112862ee8f98f7564c4c38ed0096565760a097391d8bf5c9ce439
Contents?: true
Size: 639 Bytes
Versions: 20
Compression:
Stored size: 639 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.component, current_participatory_space) end def collection_for project end def project @project ||= projects.find(params[:project_id]) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems