Check for current user again

This commit is contained in:
Raphael 2010-08-24 19:32:38 -07:00
parent 174dbc069b
commit f9dd462957

View file

@ -16,8 +16,10 @@ class ApplicationController < ActionController::Base
end
def set_friends_and_status
@groups = current_user.groups
@friends = current_user.friends
if current_user
@groups = current_user.groups
@friends = current_user.friends
end
end
def count_requests