From e3c6cf9888613bf3562842c3206f45388cdea283 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 26 Nov 2008 11:55:45 -0600 Subject: [PATCH] do not show facebook users --- app/controllers/users.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users.rb b/app/controllers/users.rb index 4555084..46441e0 100644 --- a/app/controllers/users.rb +++ b/app/controllers/users.rb @@ -6,7 +6,7 @@ class Users < Application def index 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 else redirect url(:user, :id => current_user.user_name)