Fixed link to DiaryComments

This commit is contained in:
Shrey 2015-07-16 23:30:55 +05:30 committed by Matt Amos
parent 4b4b67aa96
commit 732e1ab03a
3 changed files with 10 additions and 2 deletions

View file

@ -10,7 +10,11 @@
<a id="comments"></a>
<div class='comments'>
<%= render :partial => 'diary_comment', :collection => @entry.visible_comments %>
<% if @reported_comment %>
<%= render :partial => 'diary_comment', :collection => @reported_comment %>
<% else %>
<%= render :partial => 'diary_comment', :collection => @entry.visible_comments %>
<% end %>
</div>
<%= if_logged_in(:div) do %>
<h3 id="newcomment"><%= t 'diary_entry.view.leave_a_comment' %></h3>