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)