mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add template update event
This commit is contained in:
1 parent
ed3c7c324b
commit
36d59c40a7
1 file changed
+2
@@ -6,6 +6,8 @@ class TemplatesRestoreController < ApplicationController
|
||||
def create
|
||||
@template.update!(archived_at: nil)
|
||||
|
||||
WebhookUrls.enqueue_events(@template, 'template.updated')
|
||||
|
||||
redirect_to template_path(@template), notice: I18n.t('template_has_been_unarchived')
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user