Fix variable name typo (#2327)
This commit is contained in:
parent
9df090e551
commit
e08d1fcc15
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user