diff --git a/app/controllers/templates_restore_controller.rb b/app/controllers/templates_restore_controller.rb index 9072e84d..d6d0505e 100644 --- a/app/controllers/templates_restore_controller.rb +++ b/app/controllers/templates_restore_controller.rb @@ -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