Skip to content
Snippets Groups Projects
Commit 67b2e623 authored by Emelia Smith's avatar Emelia Smith Committed by Claire
Browse files

Fix missing destory audit logs for Domain Allows (#30125)

parent 56b7d1a7
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,8 @@ class Admin::DomainAllowsController < Admin::BaseController
def destroy
authorize @domain_allow, :destroy?
UnallowDomainService.new.call(@domain_allow)
log_action :destroy, @domain_allow
redirect_to admin_instances_path, notice: I18n.t('admin.domain_allows.destroyed_msg')
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment