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