0
0
Fork 0

Add ability to disable login and mark accounts as memorial (#5615)

Fix #5597
This commit is contained in:
Eugen Rochko 2017-11-07 19:06:44 +01:00 committed by GitHub
parent cbbeec05be
commit 1032f3994f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 168 additions and 39 deletions

View file

@ -10,7 +10,7 @@ module Admin
end
def destroy
@account.update(suspended: false)
@account.unsuspend!
redirect_to admin_accounts_path
end