summaryrefslogtreecommitdiffstats
path: root/app/controllers/repositories_controller.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-13 03:52:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-13 03:52:18 +0000
commit57c5b4ea743e6f11385088b321359b5699151ff6 (patch)
tree3b3f9a41a8f1dda1d6a2ade9ea43b24c6034f05a /app/controllers/repositories_controller.rb
parentab430a13b5ae11437ef2b47e0e208a77def1ccd0 (diff)
downloadredmine-57c5b4ea743e6f11385088b321359b5699151ff6.tar.gz
redmine-57c5b4ea743e6f11385088b321359b5699151ff6.zip
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
Diffstat (limited to 'app/controllers/repositories_controller.rb')
-rw-r--r--app/controllers/repositories_controller.rb1
1 files changed, 1 insertions, 0 deletions
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|