Added some eager loading for balancing new.

This commit is contained in:
Benjamin Meichsner 2013-03-12 12:34:05 +01:00
parent 40d9195eac
commit 6196bdae41
3 changed files with 6 additions and 4 deletions

View file

@ -20,7 +20,7 @@
.well.well-small
%h3 Kommentare
#comments= render :partial => 'shared/comments', locals: {comments: @order.comments}
#comments= render :partial => 'shared/comments', locals: {comments: @order.comments.includes(:user)}
- content_for :actionbar do
.btn-group