summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-02-26 19:20:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-02-26 19:20:18 +0000
commitae998984a0fd08a377ff5e5c4d753792a27ebe43 (patch)
tree6bc93840bcfa76bd11ea7d07801e1862aba3ec1a /app
parent2e31311e3c9d00030ae295fcbab52ae4d7bb7225 (diff)
downloadredmine-ae998984a0fd08a377ff5e5c4d753792a27ebe43.tar.gz
redmine-ae998984a0fd08a377ff5e5c4d753792a27ebe43.zip
fixed: unable to update repository url
git-svn-id: http://redmine.rubyforge.org/svn/trunk@275 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 0bd50fdb2..ce2e39fac 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -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]