From c7f2ab0415742393ca19805e48525a408a54ec28 Mon Sep 17 00:00:00 2001 From: huang Date: Mon, 1 Aug 2016 13:51:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=9B=E5=BB=BA=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E5=90=8D=E5=AD=97=E7=9A=84=E9=A1=B9=E7=9B=AE=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E4=B8=BA=E2=80=9C=E4=B8=BA=E9=A1=B9=E7=9B=AE=E8=AE=A8?= =?UTF-8?q?=E8=AE=BA=E5=8C=BA=E7=9A=84=E9=97=AE=E9=A2=98=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/project.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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}"