Commit 1ac71b0cf1ef2befb8265e48a3bb0a5c6ee660d7

Authored by Evandro Jr
2 parents 600a5c1b b8304468

Merge branch 'stable' of gitlab.com:participa/noosfero into stable

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/comment/_comment.html.erb
... ... @@ -64,7 +64,7 @@
64 64  
65 65 <% unless comment.replies.blank? || comment.spam? %>
66 66 <ul class="comment-replies">
67   - <% comment.replies.each do |reply| %>
  67 + <% comment.replies.includes([:children, :author]).each do |reply| %>
68 68 <%= render :partial => 'comment/comment', :locals => { :comment => reply } %>
69 69 <% end %>
70 70 </ul>
... ...