1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Merge pull request #1736 from soudy/develop

Added repository remove option to API
This commit is contained in:
无闻
2015-10-08 20:01:56 -04:00
2 changed files with 37 additions and 0 deletions

View File

@@ -226,6 +226,7 @@ func runWeb(ctx *cli.Context) {
m.Group("", func() {
m.Post("/migrate", bindIgnErr(auth.MigrateRepoForm{}), v1.MigrateRepo)
m.Delete("/:owner/:reponame", v1.RemoveRepo)
}, middleware.ApiReqToken())
m.Group("/:username/:reponame", func() {