diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index df2ce0cd..66f7d497 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -59,6 +59,7 @@ class UsersController < ApplicationController #visitor before_filter :recorded_visitor, :only => [:show, :user_fanslist, :user_watchlist, :user_visitorlist] + before_filter :require_admin, :only => [:destroy] helper :sort helper :attachments