do not show facebook users (real column name)

master^2
andrew 2008-11-26 11:57:50 -06:00
parent e3c6cf9888
commit c72141b84e
1 changed files with 1 additions and 1 deletions

View File

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