diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-25 23:27:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-25 23:27:25 +0800 |
commit | 4b7594d9fa0da67cbc8df74ee1711043168ebbbd (patch) | |
tree | eed4cbedb522844a93645cc8e0d48d904b694ad1 /cmd | |
parent | d4924d45d6d4e991240d207a834d8d6709781449 (diff) | |
download | gitea-4b7594d9fa0da67cbc8df74ee1711043168ebbbd.tar.gz gitea-4b7594d9fa0da67cbc8df74ee1711043168ebbbd.zip |
Provide button to delete merged pull request (#441)
* provide button to delete merged pull request
* golint fix
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 9776fdc11a..f6baf6ad4d 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -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) |