| Index: app/views/address_book/index.rhtml |
| =================================================================== |
| --- app/views/address_book/index.rhtml (revision 36) |
| +++ app/views/address_book/index.rhtml (working copy) |
| @@ -11,10 +11,10 @@ |
| You can click on your name or photo to change your contact information.<br/> |
| <% end -%> |
| - <% unless user.news_items_count == 0 -%> |
| + <% unless user.news_items.count == 0 -%> |
| <%= render :partial => 'account/user_news_links', |
| :locals => {:user => user} %> |
| <% end -%> |
| </div> |
| </div> |
| -<% end %> |
| +<% end %> |