This commit is contained in:
Toks
2013-04-13 15:19:04 -04:00
parent a1dfa2a0b1
commit 4f16cdf145

View File

@@ -13,7 +13,11 @@
<div class="list-of-comments">
<% if comments.empty? %>
<p>There are no comments.</p>
<% if post.last_commented_at.present? %>
<p>There are no visible comments.</p>
<% else %>
<p>There are no comments.</p>
<% end %>
<% else %>
<%= render :partial => "comments/partials/show/comment", :collection => comments %>
<% end %>