Fixed link to DiaryComments
This commit is contained in:
parent
4b4b67aa96
commit
732e1ab03a
3 changed files with 10 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue