Provide button to delete merged pull request (#441)
* provide button to delete merged pull request * golint fix
This commit is contained in:
parent
d4924d45d6
commit
4b7594d9fa
5 changed files with 40 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue