This commit is contained in:
parent
eda2bdfc7a
commit
89f89d738f
4 changed files with 3 additions and 4 deletions
|
@ -128,7 +128,7 @@ module Admin
|
|||
def unblock_email
|
||||
authorize @account, :unblock_email?
|
||||
|
||||
CanonicalEmailBlock.matching_account(@account).delete_all
|
||||
CanonicalEmailBlock.where(reference_account: @account).delete_all
|
||||
|
||||
log_action :unblock_email, @account
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue