Skip to content
Snippets Groups Projects
Commit ae998984 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

fixed: unable to update repository url

git-svn-id: http://redmine.rubyforge.org/svn/trunk@275 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2e31311e
Branches
Tags
No related merge requests found
...@@ -110,7 +110,7 @@ class ProjectsController < ApplicationController ...@@ -110,7 +110,7 @@ class ProjectsController < ApplicationController
@project.repository = nil @project.repository = nil
when "1" when "1"
@project.repository ||= Repository.new @project.repository ||= Repository.new
@project.repository.attributes = params[:repository] @project.repository.update_attributes params[:repository]
end end
end end
@project.attributes = params[:project] @project.attributes = params[:project]
......
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