From 4e0f674517669529854b63806ea02045bac74d2c Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Sat, 27 Apr 2019 14:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=90=A5=E4=BA=BA=E5=91=98=E4=B8=8D?= =?UTF-8?q?=E6=8F=90=E4=BE=9B=E7=94=A8=E6=88=B7=E5=88=A0=E9=99=A4=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users_controller.rb | 1 + 1 file changed, 1 insertion(+) 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