add revisions

This commit is contained in:
Pete Matsyburka
2026-05-07 09:48:25 +03:00
parent 04ec2f8260
commit 10fd624bec
16 changed files with 462 additions and 17 deletions
+2
View File
@@ -77,6 +77,8 @@ class TemplatesController < ApplicationController
WebhookUrls.enqueue_events(@template, 'template.updated')
TemplateVersions.find_or_create_for(@template, author: current_user) if params[:revision]
head :ok
end