fixed total contact count

This commit is contained in:
MrZYX 2011-06-01 12:23:37 +02:00
parent 0770d6e8fd
commit de9e41a331

View file

@ -40,7 +40,7 @@ class AspectsController < ApplicationController
if params[:only_posts]
render :partial => 'shared/stream', :locals => {:posts => @posts}
else
@contact_count = current_user.contacts.count
@contact_count = current_user.contacts.receiving.count
@aspect = :all unless params[:a_ids]
@aspect ||= @aspects.first # used in mobile