fixed total contact count
This commit is contained in:
parent
0770d6e8fd
commit
de9e41a331
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class AspectsController < ApplicationController
|
||||||
if params[:only_posts]
|
if params[:only_posts]
|
||||||
render :partial => 'shared/stream', :locals => {:posts => @posts}
|
render :partial => 'shared/stream', :locals => {:posts => @posts}
|
||||||
else
|
else
|
||||||
@contact_count = current_user.contacts.count
|
@contact_count = current_user.contacts.receiving.count
|
||||||
|
|
||||||
@aspect = :all unless params[:a_ids]
|
@aspect = :all unless params[:a_ids]
|
||||||
@aspect ||= @aspects.first # used in mobile
|
@aspect ||= @aspects.first # used in mobile
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue