HACK! Show confirmed status in the all users export
This commit is contained in:
parent
e311a65f02
commit
676d10ce36
3 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue