From c72141b84e4e7e2bedd63eed94aa7618ed7b740f Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 26 Nov 2008 11:57:50 -0600 Subject: [PATCH] do not show facebook users (real column name) --- 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 46441e0..fd251fd 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', :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)