summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorMorlinest <Morlinest@users.noreply.github.com>2017-08-18 13:21:46 +0200
committerLauris BH <lauris@nix.lv>2017-08-18 14:21:46 +0300
commite08d1fcc15aa643f8c9a7aceaf974a09b558e57e (patch)
treee17a04956d301f51bf1d7fe23025db43692c620c /routers
parent9df090e551387adbe73728239c1921f0ba735f02 (diff)
downloadgitea-e08d1fcc15aa643f8c9a7aceaf974a09b558e57e.tar.gz
gitea-e08d1fcc15aa643f8c9a7aceaf974a09b558e57e.zip
Fix variable name typo (#2327)
Diffstat (limited to 'routers')
-rw-r--r--routers/user/home.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 1707d9d097..43f4087fe5 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -19,7 +19,7 @@ import (
)
const (
- tplDashborad base.TplName = "user/dashboard/dashboard"
+ tplDashboard base.TplName = "user/dashboard/dashboard"
tplIssues base.TplName = "user/dashboard/issues"
tplProfile base.TplName = "user/profile"
tplOrgHome base.TplName = "org/home"
@@ -192,7 +192,7 @@ func Dashboard(ctx *context.Context) {
if ctx.Written() {
return
}
- ctx.HTML(200, tplDashborad)
+ ctx.HTML(200, tplDashboard)
}
// Issues render the user issues page