修改新建项目BUG
This commit is contained in:
parent
78c8e2a20d
commit
715c988656
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue