aboutsummaryrefslogtreecommitdiff
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-01 11:32:12 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-01 11:32:12 -0400
commitf6c4fbeb37bc7fcbc947c162358c39e9bed90488 (patch)
tree37d9ba100ba006b9d322014bff1975014b8f3fd3 /web.go
parent0dfb5560cdee369b2292071d14d750b2477c6086 (diff)
Collaborator
Diffstat (limited to 'web.go')
-rw-r--r--web.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/web.go b/web.go
index 49ad0040..0ee89c3c 100644
--- a/web.go
+++ b/web.go
@@ -150,7 +150,8 @@ func runWeb(*cli.Context) {
m.Group("/:username/:reponame", func(r martini.Router) {
r.Get("/settings", repo.Setting)
r.Post("/settings", repo.SettingPost)
- r.Get("/collaboration", repo.Collaboration)
+ r.Get("/settings/collaboration", repo.Collaboration)
+ r.Post("/settings/collaboration", repo.CollaborationPost)
r.Get("/action/:action", repo.Action)
r.Get("/issues/new", repo.CreateIssue)
r.Post("/issues/new", bindIgnErr(auth.CreateIssueForm{}), repo.CreateIssuePost)