冲突处理
This commit is contained in:
parent
9b044f8d13
commit
45fad95d48
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue