summaryrefslogtreecommitdiffstats
path: root/routers/home.go
diff options
context:
space:
mode:
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{}{})
}