mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-07-14 19:00:04 +02:00
Finish new hooks list page
This commit is contained in:
parent
7c7014262b
commit
9820b8e134
17 changed files with 167 additions and 145 deletions
|
@ -255,8 +255,8 @@ func runWeb(*cli.Context) {
|
|||
r.Post("/settings", bindIgnErr(auth.RepoSettingForm{}), repo.SettingsPost)
|
||||
m.Group("/settings", func(r *macaron.Router) {
|
||||
r.Route("/collaboration", "GET,POST", repo.SettingsCollaboration)
|
||||
r.Get("/hooks", repo.WebHooks)
|
||||
r.Get("/hooks/add", repo.WebHooksAdd)
|
||||
r.Get("/hooks", repo.Webhooks)
|
||||
r.Get("/hooks/new", repo.WebHooksAdd)
|
||||
r.Post("/hooks/add", bindIgnErr(auth.NewWebhookForm{}), repo.WebHooksAddPost)
|
||||
r.Get("/hooks/:id", repo.WebHooksEdit)
|
||||
r.Post("/hooks/:id", bindIgnErr(auth.NewWebhookForm{}), repo.WebHooksEditPost)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue