HACK! Show confirmed status in the all users export

This commit is contained in:
Michael Ball 2021-03-08 19:24:34 -08:00
parent e311a65f02
commit 676d10ce36
3 changed files with 15 additions and 1 deletions

View file

@ -66,6 +66,12 @@ module Admin
def edit; end
def delete
@user.destroy!
flash[:notice] = "User #{@user.id} (#{@user.emai}) successfully deleted."
redirect_to admin_users_path
end
private
def user_params