aboutsummaryrefslogtreecommitdiffstats
path: root/routers/home.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-02-12 14:54:09 -0500
committerUnknown <joe2010xtmf@163.com>2014-02-12 14:54:09 -0500
commit96b317d3fff3884dd08061d84e11a49495f83a4b (patch)
tree168e4c6168293ea1622a0c6361e36d54102af70d /routers/home.go
parent4836fea8767c38f175f59f8f66579e76fe6354f5 (diff)
downloadgitea-96b317d3fff3884dd08061d84e11a49495f83a4b.tar.gz
gitea-96b317d3fff3884dd08061d84e11a49495f83a4b.zip
Init commit
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/routers/home.go b/routers/home.go
index 5bb12f6ddd..ec7077d804 100644
--- a/routers/home.go
+++ b/routers/home.go
@@ -4,6 +4,10 @@
package routers
-func HomeGet() string {
- return "Hello world!"
+import (
+ "github.com/martini-contrib/render"
+)
+
+func Home(r render.Render) {
+ r.HTML(200, "home", map[string]interface{}{})
}