do not show facebook users

master^2
andrew 2008-11-26 11:55:45 -06:00
parent 76bb0471f1
commit e3c6cf9888
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class Users < Application
def index def index
if current_user.administrator? if current_user.administrator?
@users = User.find :all, :order => 'user_name ASC' @users = User.find :all, :order => 'user_name ASC', :conditions => 'facebok_id IS NULL'
render render
else else
redirect url(:user, :id => current_user.user_name) redirect url(:user, :id => current_user.user_name)