冲突处理

This commit is contained in:
huangjingquan 2013-11-21 09:41:30 +08:00
parent 9b044f8d13
commit 45fad95d48
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class BoardsController < ApplicationController
def index
@boards = @project.boards.includes(:last_message => :author).all
if @boards.size == 1
@board = @boards.first
@board = @boards.first
show and return
end
if @project.project_type == 1