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

release/v1.3
Lauris BH 7 years ago committed by Bo-Yi Wu
parent e22be08ab6
commit 0a9fd454da

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

Loading…
Cancel
Save