summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-09 10:29:51 -0700
committerUnknwon <joe2010xtmf@163.com>2014-08-09 10:29:51 -0700
commit9820b8e1342017edfe4f6ced9cc3a7d811449c7b (patch)
treeb26331d3359623abc7ba54aa7abd5b3ee497efab /cmd/web.go
parent7c7014262bdf90880826e6e6cc802bdab300b5ae (diff)
downloadgitea-9820b8e1342017edfe4f6ced9cc3a7d811449c7b.tar.gz
gitea-9820b8e1342017edfe4f6ced9cc3a7d811449c7b.zip
Finish new hooks list page
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 40ae760280..474e86b3e3 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -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)