aboutsummaryrefslogtreecommitdiffstats
path: root/routers/org/org.go
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 /routers/org/org.go
parentea507e20d45ef90b1552d72341038354f8801cf4 (diff)
downloadgitea-f393dc652007238c27bd5d1954a03ba97412eee5.tar.gz
gitea-f393dc652007238c27bd5d1954a03ba97412eee5.zip
add organization dashboard page
Diffstat (limited to 'routers/org/org.go')
-rw-r--r--routers/org/org.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/routers/org/org.go b/routers/org/org.go
index 4d9b831deb..8073d10b8e 100644
--- a/routers/org/org.go
+++ b/routers/org/org.go
@@ -24,3 +24,8 @@ func New(ctx *middleware.Context) {
ctx.Data["Title"] = "Create an Organization"
ctx.HTML(200, "org/new")
}
+
+func Dashboard(ctx *middleware.Context, params martini.Params) {
+ ctx.Data["Title"] = "Dashboard"
+ ctx.HTML(200, "org/dashboard")
+}