]> source.dussan.org Git - redmine.git/commitdiff
fixed: unable to update repository url
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 26 Feb 2007 19:20:18 +0000 (19:20 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 26 Feb 2007 19:20:18 +0000 (19:20 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@275 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/projects_controller.rb

index 0bd50fdb22ecd8cbadbc9bf178a40590609f9465..ce2e39fac5b8dfafb3f77f80cffade850729e747 100644 (file)
@@ -110,7 +110,7 @@ class ProjectsController < ApplicationController
           @project.repository = nil\r
         when "1"\r
           @project.repository ||= Repository.new\r
-          @project.repository.attributes = params[:repository]\r
+          @project.repository.update_attributes params[:repository]\r
         end\r
       end\r
       @project.attributes = params[:project]\r