Skip to content

Commit

Permalink
Delete users
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason L Perry committed Mar 14, 2009
1 parent 8cfaa3c commit 6e2b0f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/users_controller.rb
@@ -1,7 +1,7 @@
class UsersController < ApplicationController
skip_before_filter :require_activation, :only => [:edit, :update]

before_filter :require_officer, :only => [:activate]
before_filter :require_officer, :only => [:activate, :destroy]

# GET /users
# GET /users.xml
Expand Down Expand Up @@ -56,7 +56,7 @@ def update
# DELETE /users/1
# DELETE /users/1.xml
def destroy
@user = current_user
@user = User.find(params[:id])
@user.destroy

respond_to do |format|
Expand Down

0 comments on commit 6e2b0f4

Please sign in to comment.