Browse Source

Fix new branch creation to new url scheme (#2884)

master
Lauris BH Bo-Yi Wu 7 years ago
parent
commit
0a9fd454da
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/branch_dropdown.tmpl

+ 1
- 1
templates/repo/branch_dropdown.tmpl View File

@@ -53,7 +53,7 @@
{{end}}
</div>
</a>
<form ref="newBranchForm" action="{{.RepoLink}}/branches/_new/{{EscapePound .BranchName}}" method="post">
<form ref="newBranchForm" action="{{.RepoLink}}/branches/_new/{{EscapePound .BranchNameSubURL}}" method="post">
{{.CsrfTokenHtml}}
<input type="hidden" name="new_branch_name" v-model="searchTerm">
</form>


Loading…
Cancel
Save