Add ability to disable login and mark accounts as memorial (#5615)
Fix #5597
This commit is contained in:
parent
cbbeec05be
commit
1032f3994f
17 changed files with 168 additions and 39 deletions
|
@ -10,7 +10,7 @@ module Admin
|
|||
end
|
||||
|
||||
def destroy
|
||||
@account.update(suspended: false)
|
||||
@account.unsuspend!
|
||||
redirect_to admin_accounts_path
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue