diff options
author | Unknown <joe2010xtmf@163.com> | 2014-06-22 13:17:47 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-06-22 13:17:47 -0400 |
commit | 9c820730918443ca2b498dfa71b3131d73cec526 (patch) | |
tree | 2d66846119856cb5d2505107bc35010b23b9213b /cmd | |
parent | 9924e65ca11770f247723b10fcbdb81dc9534b32 (diff) | |
parent | adda10f4a44005880f881bcb9238b74d561f8a1b (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -96,7 +96,7 @@ func runWeb(*cli.Context) { r.Get("/stars", user.Stars) }, reqSignIn) - m.Group("/api", func(r martini.Router) { + m.Group("/api", func(_ martini.Router) { m.Group("/v1", func(r martini.Router) { // Miscellaneous. r.Post("/markdown", bindIgnErr(apiv1.MarkdownForm{}), v1.Markdown) @@ -190,6 +190,8 @@ func runWeb(*cli.Context) { m.Group("/o", func(r martini.Router) { r.Get("/:org", org.Organization) + r.Get("/:org/members", org.Members) + r.Get("/:org/teams", org.Teams) }) m.Group("/:username/:reponame", func(r martini.Router) { |