diff --git a/app/models/project.rb b/app/models/project.rb index 67f010210..f66b07580 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1224,8 +1224,7 @@ class Project < ActiveRecord::Base # 创建项目后在项目下同步创建一个讨论区 def create_board_sync @board = self.boards.build - self.name=" #{l(:label_borad_project) }" - @board.name = self.name + @board.name = " #{l(:label_borad_project) }" @board.description = self.name.to_s if @board.save logger.debug "[Project Model] ===> #{@board.to_json}"