Sha256: e36a854f26eebbb3e538160a7fe313151796ed9b6d72674bc378f484679c923d
Contents?: true
Size: 616 Bytes
Versions: 64
Compression:
Stored size: 616 Bytes
Contents
# frozen_string_literal: true module Decidim module Blogs module Admin # Controller that allows managing all the attachment collections for an assembly. # class AttachmentCollectionsController < Admin::ApplicationController include Decidim::Admin::Concerns::HasAttachmentCollections def after_destroy_path post_attachment_collections_path(post, post.component, current_participatory_space) end def collection_for post end def post @post ||= posts.find(params[:post_id]) end end end end end
Version data entries
64 entries across 64 versions & 1 rubygems