This commit is contained in:
jomo
2013-10-20 07:31:17 +02:00
parent b6115970dd
commit db1fc7c4ef
3 changed files with 25 additions and 10 deletions

View File

@@ -11,6 +11,7 @@
<%= Sanitize.clean(GitHub::Markdown.render_gfm(@post.content), Sanitize::Config::RELAXED).html_safe %>
</div>
<div id="comments">
<h3><%= "#{pluralize(@post.comments.length, 'comment')}." %></h3>
<% @post.comments.each do |c| %>
<%= render "comments/comment", :c => c %>
<% end %>