fulltext search

This commit is contained in:
Pete Matsyburka committed 2025-06-06 16:03:16 +03:00
1 parent 9d1860f038
commit 33811945be
36 files changed
+682 -25

No files matched your search

@@ -22,6 +22,8 @@ class TemplatesCloneAndReplaceController < ApplicationController
Templates::CloneAttachments.call(template: cloned_template, original_template: @template,
excluded_attachment_uuids: documents.map(&:uuid))
SearchEntries.enqueue_reindex(cloned_template)
respond_to do |f|
f.html { redirect_to edit_template_path(cloned_template) }
f.json { render json: { id: cloned_template.id } }