Added button to reset a spam bool on an account

• Added:
- button to reset a spam bool on an account in admin dashboard
This commit is contained in:
mgabdev
2021-02-02 21:11:48 -05:00
parent e047a50967
commit 33f4bc4650
3 changed files with 10 additions and 1 deletions

View File

@@ -142,6 +142,9 @@
%span YES
- else
%span no
- if @account.is_flagged_as_spam?
%td= table_link_to 'ban', 'Reset', reset_spam_admin_account_path(@account.id), method: :post
%tr
%th= t('admin.accounts.most_recent_ip')