Merge commit 'b51518f74173bb6fd9ce1c1ad73a8e67a66a7753' into glitch-soc/merge-4.6
This commit is contained in:
commit
c8376d9345
19 files changed
+78
-21
No files matched your search
@@ -72,6 +72,7 @@ module Admin
|
||||
def destroy
|
||||
authorize @account, :destroy?
|
||||
Admin::AccountDeletionWorker.perform_async(@account.id)
|
||||
log_action :destroy, @account
|
||||
redirect_to admin_account_path(@account.id), notice: I18n.t('admin.accounts.destroyed_msg', username: @account.acct)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user