diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index fbfb06819..c4754d533 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -46,7 +46,7 @@ - for aspect in @all_aspects %li{:data=>{:guid=>aspect.id}, :class => ("selected" if @object_aspect_ids.include?(aspect.id))} - = link_for_aspect(aspect, :class => 'aspect_selector', :title => t('contacts', :count => aspect.aspect_memberships.length)) + = link_for_aspect(aspect, :class => 'aspect_selector', :title => t('contacts', :count => aspect.contacts.size)) %li = link_to '+', '#add_aspect_pane', :class => "add_aspect_button", :title => t('aspects.manage.add_a_new_aspect'), :rel => 'facebox'