@@ -25,7 +25,7 class BoardsController < ApplicationController | |||
|
25 | 25 | helper :watchers |
|
26 | 26 | |
|
27 | 27 | def index |
|
28 | @boards = @project.boards | |
|
28 | @boards = @project.boards.includes(:last_message => :author).all | |
|
29 | 29 | # show the board if there is only one |
|
30 | 30 | if @boards.size == 1 |
|
31 | 31 | @board = @boards.first |
General Comments 0
You need to be logged in to leave comments.
Login now