summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-02-14 20:14:22 -0500
committerUnknown <joe2010xtmf@163.com>2014-02-14 20:14:22 -0500
commitb1c5adc2f206b855ccf19eaf492fd86a86e2befc (patch)
tree014dc7adb77b4670bc4254738dec561c4e7035ef /routers
parent8ef198dface6a4e7b851ea495e236450f40ad1dc (diff)
downloadgitea-b1c5adc2f206b855ccf19eaf492fd86a86e2befc.tar.gz
gitea-b1c5adc2f206b855ccf19eaf492fd86a86e2befc.zip
Setup templates structure
Diffstat (limited to 'routers')
-rw-r--r--routers/dashboard.go (renamed from routers/home.go)6
1 files changed, 4 insertions, 2 deletions
diff --git a/routers/home.go b/routers/dashboard.go
index ec7077d804..8c370027bc 100644
--- a/routers/home.go
+++ b/routers/dashboard.go
@@ -8,6 +8,8 @@ import (
"github.com/martini-contrib/render"
)
-func Home(r render.Render) {
- r.HTML(200, "home", map[string]interface{}{})
+func Dashboard(r render.Render) {
+ r.HTML(200, "dashboard", map[string]interface{}{
+ "Title": "Dashboard",
+ })
}