anonymous users are not logged in

master^2
andrew 2008-12-04 22:47:20 -06:00
parent c72141b84e
commit 394bb364e8
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class Users < Application
include Ambethia::ReCaptcha::Controller
def index
if current_user.administrator?
if logged_in? and current_user.administrator?
@users = User.find :all, :order => 'user_name ASC', :conditions => 'facebook_id IS NULL'
render
else