]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/view.html.erb
Make diary comment creation work again.
[rails.git] / app / views / diary_entry / view.html.erb
index 7ff35b494bc9913be9dbfcb14acb64c9b9b971f4..8e71cb24298a5b9d9fdfc759e7e03308348629d0 100644 (file)
@@ -4,7 +4,7 @@
 
 <a id="comments"></a>
 
-<%= render :partial => 'diary_comment', :collection => @entry.diary_comments %>
+<%= render :partial => 'diary_comment', :collection => @entry.visible_comments %>
 
 <% if @user %>