@ -29,6 +29,7 @@ class BoardsController < ApplicationController
def index
@boards = @project.boards.includes(:last_message => :author).all
@boards = [] << @boards[0]
if @boards.size == 1
@board = @boards.first
show and return