mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
add revisions
This commit is contained in:
1 parent
04ec2f8260
commit
10fd624bec
16 files changed
+462
-17
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user