diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 8084c756c..9fa7ddda6 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -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 {