mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 23:42:32 -05:00
add template archived event
This commit is contained in:
1 parent
36d59c40a7
commit
7309581b75
7 files changed
+147
-2
No files matched your search
@@ -84,6 +84,8 @@ class TemplatesController < ApplicationController
|
||||
else
|
||||
@template.update!(archived_at: Time.current)
|
||||
|
||||
WebhookUrls.enqueue_events(@template, 'template.archived')
|
||||
|
||||
I18n.t('template_has_been_archived')
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user