diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-05-02 22:07:34 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-05-02 22:07:34 +0800 |
commit | 3e856928a2254c6409bf9370c88731fce8efc974 (patch) | |
tree | 6051cc8ffa82855299b54945dc9f87c5e9e40fa0 /cmd | |
parent | 8bbaf9550aa6bbf0eef0105301545c6ab9287115 (diff) | |
download | gitea-3e856928a2254c6409bf9370c88731fce8efc974.tar.gz gitea-3e856928a2254c6409bf9370c88731fce8efc974.zip |
add webhooks page ui
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index af5d507edf..1e60501834 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -152,6 +152,8 @@ func runWeb(*cli.Context) { r.Post("/settings", repo.SettingPost) r.Get("/settings/collaboration", repo.Collaboration) r.Post("/settings/collaboration", repo.CollaborationPost) + r.Get("/settings/hooks", repo.WebHooks) + r.Get("/settings/hooks/add",repo.WebHooksAdd) r.Get("/action/:action", repo.Action) r.Get("/issues/new", repo.CreateIssue) r.Post("/issues/new", bindIgnErr(auth.CreateIssueForm{}), repo.CreateIssuePost) |