Commit b8304468ef6de86accdfd442c889f30b2fdd9539

Authored by Victor Costa
2 parents ed4938b5 ae2c7ab3

Merge branch 'fix_lazy_queries' 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>
... ...