运营人员不提供用户删除权限

dev_partners
jingquan huang 6 years ago
parent a715d33728
commit 4e0f674517

@ -59,6 +59,7 @@ class UsersController < ApplicationController
#visitor #visitor
before_filter :recorded_visitor, :only => [:show, :user_fanslist, :user_watchlist, :user_visitorlist] before_filter :recorded_visitor, :only => [:show, :user_fanslist, :user_watchlist, :user_visitorlist]
before_filter :require_admin, :only => [:destroy]
helper :sort helper :sort
helper :attachments helper :attachments

Loading…
Cancel
Save