Sha256: bfa85be840494b1eb1e3906292942bf2128683a68202d0254763e148fc4cbf59
Contents?: true
Size: 606 Bytes
Versions: 13
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true module Decidim module Initiatives module Admin # Controller that allows managing all the attachments for an initiative class InitiativeAttachmentsController < Decidim::Initiatives::Admin::ApplicationController include InitiativeAdmin include Decidim::Admin::Concerns::HasAttachments add_breadcrumb_item_from_menu :admin_initiative_menu def after_destroy_path initiative_attachments_path(current_initiative) end def attached_to current_initiative end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems