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:
parent
2e31311e3c
commit
ae998984a0
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue