This commit is contained in:
Gopesh Tulsyan 2014-09-11 13:32:03 +00:00
commit 5fc5aba344
11 changed files with 68 additions and 17 deletions

View file

@ -30,6 +30,7 @@ module Admin
def edit; end
def destroy
sign_out @user
@user.destroy
redirect_to admin_users_path, notice: 'User got deleted'
end