do not show facebook users (real column name)
parent
e3c6cf9888
commit
c72141b84e
|
@ -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', :conditions => 'facebok_id IS NULL'
|
@users = User.find :all, :order => 'user_name ASC', :conditions => 'facebook_id IS NULL'
|
||||||
render
|
render
|
||||||
else
|
else
|
||||||
redirect url(:user, :id => current_user.user_name)
|
redirect url(:user, :id => current_user.user_name)
|
||||||
|
|
Reference in New Issue