From 0ad2f941515afbe35ec4a05c68b7e249ca497c4f Mon Sep 17 00:00:00 2001 From: Smit Bosamiya <72661516+smtbos@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:46:11 +0530 Subject: [PATCH] fix: Error when attempting to Delete User-Associated Accounts via Super Admin Console (#7810) This pull request addresses the issue where an error is encountered while attempting to delete user-associated accounts through the Super Admin Console. The problem arises from an error that occurs when the "destroy" action is triggered on an associated account. Fixes: #7809 --- app/views/super_admin/users/_collection.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/super_admin/users/_collection.html.erb b/app/views/super_admin/users/_collection.html.erb index 512624daa..9297d6d98 100644 --- a/app/views/super_admin/users/_collection.html.erb +++ b/app/views/super_admin/users/_collection.html.erb @@ -83,7 +83,7 @@ to display a collection of resources in an HTML table. <% if existing_action? collection_presenter.resource_name, :destroy %>