summaryrefslogtreecommitdiffstats
path: root/routers/org/org.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-06-07 13:27:24 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-06-07 13:27:24 +0800
commit4fcbf553aa9b451bc461e09a98711966668e1889 (patch)
tree17e7a9766d301b06b42ebfc732c7e24b8a3f4654 /routers/org/org.go
parenta0318db2f9094eda2beea19ed323244b4ae30831 (diff)
downloadgitea-4fcbf553aa9b451bc461e09a98711966668e1889.tar.gz
gitea-4fcbf553aa9b451bc461e09a98711966668e1889.zip
organisation main page ui
Diffstat (limited to 'routers/org/org.go')
-rw-r--r--routers/org/org.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/routers/org/org.go b/routers/org/org.go
new file mode 100644
index 0000000000..1c02e77332
--- /dev/null
+++ b/routers/org/org.go
@@ -0,0 +1,11 @@
+package org
+
+import (
+ "github.com/go-martini/martini"
+ "github.com/gogits/gogs/modules/middleware"
+)
+
+func Organization(ctx *middleware.Context, params martini.Params) {
+ ctx.Data["Title"] = "Organization Name" + params["org"]
+ ctx.HTML(200, "org/org")
+}