Update repo.Create
This commit is contained in:
parent
5a05d6633d
commit
76ce6f9848
8 changed files with 94 additions and 32 deletions
2
web.go
2
web.go
|
@ -69,7 +69,7 @@ func runWeb(*cli.Context) {
|
|||
m.Any("/user/publickey/add", auth.SignInRequire(true), user.AddPublicKey)
|
||||
m.Any("/user/publickey/list", auth.SignInRequire(true), user.ListPublicKey)
|
||||
|
||||
m.Any("/repo/create", auth.SignInRequire(true), repo.Create)
|
||||
m.Any("/repo/create", auth.SignInRequire(true), binding.BindIgnErr(auth.CreateRepoForm{}), repo.Create)
|
||||
m.Any("/repo/delete", auth.SignInRequire(true), repo.Delete)
|
||||
m.Any("/repo/list", auth.SignInRequire(false), repo.List)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue