Provide button to delete merged pull request (#441)

* provide button to delete merged pull request

* golint fix
This commit is contained in:
Lunny Xiao 2016-12-25 23:27:25 +08:00 committed by GitHub
parent d4924d45d6
commit 4b7594d9fa
5 changed files with 40 additions and 1 deletions

View file

@ -518,6 +518,7 @@ func runWeb(ctx *cli.Context) error {
}, context.RepoRef())
// m.Get("/branches", repo.Branches)
m.Post("/branches/:name/delete", reqSignIn, reqRepoWriter, repo.DeleteBranchPost)
m.Group("/wiki", func() {
m.Get("/?:page", repo.Wiki)