mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 12:07:20 +00:00
Finish add web hook
This commit is contained in:
@ -174,6 +174,7 @@ func runWeb(*cli.Context) {
|
||||
r.Post("/settings/collaboration", repo.CollaborationPost)
|
||||
r.Get("/settings/hooks", repo.WebHooks) // TODO
|
||||
r.Get("/settings/hooks/add", repo.WebHooksAdd)
|
||||
r.Post("/settings/hooks/add", bindIgnErr(auth.NewWebhookForm{}), repo.WebHooksAddPost)
|
||||
r.Get("/settings/hooks/id", repo.WebHooksEdit)
|
||||
}, reqSignIn, middleware.RepoAssignment(true), reqOwner())
|
||||
|
||||
|
Reference in New Issue
Block a user