diff options
author | Unknwon <u@gogs.io> | 2017-02-09 15:25:48 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-09 15:25:48 -0500 |
commit | 074c92b0a3543b4457cc6889a879e49e3971835f (patch) | |
tree | 3c373d68689726895d1f68b78ff4580686bc816d /cmd | |
parent | e893e1fc63da19eb00c7a9533cfbc9fdeab04480 (diff) |
routers/repo/branch: fix can't delete branch with slashes after merge (#4089)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -570,7 +570,7 @@ func runWeb(ctx *cli.Context) error { }, context.RepoRef()) // m.Get("/branches", repo.Branches) - m.Post("/branches/:name/delete", reqSignIn, reqRepoWriter, repo.DeleteBranchPost) + m.Post("/branches/delete/*", reqSignIn, reqRepoWriter, repo.DeleteBranchPost) m.Group("/wiki", func() { m.Get("/?:page", repo.Wiki) |