Sha256: 9cf0e02e86204912c6dd6fe0e7b0af089549d352f09e545f1acccf4cc81a8f72
Contents?: true
Size: 726 Bytes
Versions: 1
Compression:
Stored size: 726 Bytes
Contents
# frozen_string_literal: true module Decidim module Lausanne 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 ||= Decidim::Lausanne::Budgets::Project.find(params[:project_id]) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-lausanne-budgets-0.1.0 | app/controllers/decidim/lausanne/budgets/admin/attachment_collections_controller.rb |