冲突处理
This commit is contained in:
parent
9b044f8d13
commit
45fad95d48
|
@ -30,7 +30,7 @@ class BoardsController < ApplicationController
|
||||||
def index
|
def index
|
||||||
@boards = @project.boards.includes(:last_message => :author).all
|
@boards = @project.boards.includes(:last_message => :author).all
|
||||||
if @boards.size == 1
|
if @boards.size == 1
|
||||||
@board = @boards.first
|
@board = @boards.first
|
||||||
show and return
|
show and return
|
||||||
end
|
end
|
||||||
if @project.project_type == 1
|
if @project.project_type == 1
|
||||||
|
|
Loading…
Reference in New Issue