Sha256: 4dca73a3d60e074abbe7d722eb767d0159c0333b74138605d842220a5027a3a9
Contents?: true
Size: 549 Bytes
Versions: 20
Compression:
Stored size: 549 Bytes
Contents
# frozen_string_literal: true module Decidim module Budgets module Admin # Controller that allows managing all the attachments for a participatory # process. # class AttachmentsController < Admin::ApplicationController include Decidim::Admin::Concerns::HasAttachments def after_destroy_path projects_path end def attached_to 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