app/views/bookmark_stats/show.html.erb in enju_bookmark-0.1.2.pre11 vs app/views/bookmark_stats/show.html.erb in enju_bookmark-0.1.2.pre12

- old
+ new

@@ -29,10 +29,10 @@ <th><%= t('activerecord.attributes.bookmark_stat_has_manifestation.bookmarks_count') -%></th> </tr> <%- @stats.each do |stat| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> - <%= render 'manifestations/show_index', :manifestation => stat.manifestation -%> + <%= render 'manifestations/show_index', :manifestation => stat.manifestation if stat.manifestation -%> </td> <td><%= stat.bookmarks_count -%></td> </tr> <%- end -%> </table>