Commit eb139098 authored by maeda's avatar maeda
Browse files

Switching SCM fails after validation error in "New repository" page (#27333).

Patch by Mizuki ISHIKAWA.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 3e39bc4a
......@@ -138,7 +138,7 @@ module RepositoriesHelper
:disabled => (repository && !repository.new_record?),
:data => {:remote => true, :method => 'get'})
:data => {:remote => true, :method => 'get', :url => new_project_repository_path(repository.project)})
def with_leading_slash(path)
Markdown is supported
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