Index: app/views/news/_news_item.rhtml
===================================================================
--- app/views/news/_news_item.rhtml (revision 36)
+++ app/views/news/_news_item.rhtml (working copy)
@@ -6,7 +6,7 @@
<%= news_item.title %><% if news_item.recent? -%> <%= image_tag 'new.gif', :align => 'absmiddle', :style => 'float: none; border: 0px' %><% end -%>
- <% if news_item.photos_count > 0 -%>
+ <% if news_item.photos.count > 0 -%>
<% for photo in news_item.photos -%>
<%
thumb_url = url_for_image_column(photo, "image",
@@ -51,4 +51,4 @@
-
\ No newline at end of file
+