forked from forgejo/forgejo
#2063 Ability to delete repo from admin panel
This commit is contained in:
parent
978dc00305
commit
ca8ce793d1
10 changed files with 52 additions and 7 deletions
|
@ -267,7 +267,8 @@ func runWeb(ctx *cli.Context) {
|
|||
})
|
||||
|
||||
m.Group("/repos", func() {
|
||||
m.Get("", admin.Repositories)
|
||||
m.Get("", admin.Repos)
|
||||
m.Post("/delete", admin.DeleteRepo)
|
||||
})
|
||||
|
||||
m.Group("/auths", func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue