summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-06-23 12:08:53 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-06-23 12:08:53 +0800
commitf393dc652007238c27bd5d1954a03ba97412eee5 (patch)
tree8cf519502f9cfcd57e135bcec0da637e9d716f91 /cmd
parentea507e20d45ef90b1552d72341038354f8801cf4 (diff)
downloadgitea-f393dc652007238c27bd5d1954a03ba97412eee5.tar.gz
gitea-f393dc652007238c27bd5d1954a03ba97412eee5.zip
add organization dashboard page
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 9786576d78..65ea606433 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -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)
})