diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-23 12:08:53 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-06-23 12:08:53 +0800 |
commit | f393dc652007238c27bd5d1954a03ba97412eee5 (patch) | |
tree | 8cf519502f9cfcd57e135bcec0da637e9d716f91 /routers/org/org.go | |
parent | ea507e20d45ef90b1552d72341038354f8801cf4 (diff) | |
download | gitea-f393dc652007238c27bd5d1954a03ba97412eee5.tar.gz gitea-f393dc652007238c27bd5d1954a03ba97412eee5.zip |
add organization dashboard page
Diffstat (limited to 'routers/org/org.go')
-rw-r--r-- | routers/org/org.go | 5 |
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") +} |