]> source.dussan.org Git - redmine.git/commitdiff
iMerged r17105 to 3.4-stable (#27333).
authorGo MAEDA <maeda@farend.jp>
Sun, 10 Dec 2017 15:44:02 +0000 (15:44 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 10 Dec 2017 15:44:02 +0000 (15:44 +0000)
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17106 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb

index 4778c79a1bf543de835365d5759a6f53f2b18e70..c2e07370f112cb981b5b2da29c23e4c9382d2ce2 100644 (file)
@@ -138,7 +138,7 @@ module RepositoriesHelper
     select_tag('repository_scm',
                options_for_select(scm_options, repository.class.name.demodulize),
                :disabled => (repository && !repository.new_record?),
-               :data => {:remote => true, :method => 'get'})
+               :data => {:remote => true, :method => 'get', :url => new_project_repository_path(repository.project)})
   end
 
   def with_leading_slash(path)