add organization dashboard page

This commit is contained in:
fuxiaohei 2014-06-23 12:08:53 +08:00
parent ea507e20d4
commit f393dc6520
5 changed files with 91 additions and 2 deletions

View file

@ -189,8 +189,9 @@ func runWeb(*cli.Context) {
reqOwner := middleware.RequireOwner()
m.Group("/o", func(r martini.Router) {
r.Get("/create",org.New)
r.Get("/create", org.New)
r.Get("/:org", org.Organization)
r.Get("/:org/dashboard", org.Dashboard)
r.Get("/:org/members", org.Members)
r.Get("/:org/teams", org.Teams)
})