chore: ability to delete user in super admin console

fixes: #4164
This commit is contained in:
smartdev58
2022-10-18 10:05:28 +02:00
committed by GitHub
parent a1ce188dab
commit e34e975776
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ class User < ApplicationRecord
class_name: :PortalMember,
dependent: :destroy_async
has_many :portals,
through: :portals_members,
through: :portal_members,
class_name: :Portal,
dependent: :nullify,
source: :portal