Fix variable name typo (#2327)
This commit is contained in:
parent
9df090e551
commit
e08d1fcc15
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
tplDashborad base.TplName = "user/dashboard/dashboard"
|
tplDashboard base.TplName = "user/dashboard/dashboard"
|
||||||
tplIssues base.TplName = "user/dashboard/issues"
|
tplIssues base.TplName = "user/dashboard/issues"
|
||||||
tplProfile base.TplName = "user/profile"
|
tplProfile base.TplName = "user/profile"
|
||||||
tplOrgHome base.TplName = "org/home"
|
tplOrgHome base.TplName = "org/home"
|
||||||
|
@ -192,7 +192,7 @@ func Dashboard(ctx *context.Context) {
|
||||||
if ctx.Written() {
|
if ctx.Written() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctx.HTML(200, tplDashborad)
|
ctx.HTML(200, tplDashboard)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Issues render the user issues page
|
// Issues render the user issues page
|
||||||
|
|
Reference in a new issue