AutoCommit Son Aug 2 16:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-02 16:03:01 +02:00
parent 270f42bba1
commit bbb924fcfb
5 changed files with 18 additions and 14 deletions

View File

@@ -3,9 +3,9 @@
<div id="<%= divid_for(comments_block,"newform") %>">
</div>
<% unless comments_block.comments.roots.empty? %>
<div id="<%= Comment.wrapid_for( comments_block)%>">
<%= render partial:"comments/comments", object: comments_block.comments.order(:created_at).roots.reverse_order if params[:show_comments] %><%# can? fehlt!%>
</div>
<div id="<%= Comment.wrapid_for( comments_block)%>">
<%= render partial:"comments/comments", object: comments_block.comments.order(:created_at).roots.reverse_order if params[:show_comments] %><%# can? fehlt!%>
</div>
<% end %>