fixed: unable to update repository url

git-svn-id: http://redmine.rubyforge.org/svn/trunk@275 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-02-26 19:20:18 +00:00
parent 2e31311e3c
commit ae998984a0
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class ProjectsController < ApplicationController
@project.repository = nil
when "1"
@project.repository ||= Repository.new
@project.repository.attributes = params[:repository]
@project.repository.update_attributes params[:repository]
end
end
@project.attributes = params[:project]