This commit is contained in:
albert
2011-05-29 03:47:06 -04:00
parent 969185ad24
commit 9e287726e3
18 changed files with 237 additions and 137 deletions

View File

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