修改新建项目BUG

This commit is contained in:
fanqiang 2013-08-15 18:55:24 +08:00
parent 78c8e2a20d
commit 715c988656
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class ProjectsController < ApplicationController
m = Member.new(:user => User.current, :roles => [r])
project = ProjectInfo.new(:user_id => User.current.id, :project_id => @project.id)
@project.members << m
@projec.project_infos << project
@project.project_infos << project
end
respond_to do |format|
format.html {