Commit ae998984 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

fixed: unable to update repository url

git-svn-id: http://redmine.rubyforge.org/svn/trunk@275 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2e31311e
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment