From: Toshi MARUYAMA Date: Fri, 13 May 2011 03:52:18 +0000 (+0000) Subject: scm: use repository merge_extra_info() to save extra_ parameter (#8365, #7047). X-Git-Tag: 1.2.0~123 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=57c5b4ea743e6f11385088b321359b5699151ff6;p=redmine.git scm: use repository merge_extra_info() to save extra_ parameter (#8365, #7047). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5770 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index f53c3d1d6..a9548ecee 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -52,6 +52,7 @@ class RepositoriesController < ApplicationController end end @repository.attributes = p + @repository.merge_extra_info(p_extra) @repository.save end render(:update) do |page|