Skip to content

Commit e08d1fc

Browse files
Morlinestlafriks
authored andcommitted
Fix variable name typo (#2327)
1 parent 9df090e commit e08d1fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/user/home.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
)
2020

2121
const (
22-
tplDashborad base.TplName = "user/dashboard/dashboard"
22+
tplDashboard base.TplName = "user/dashboard/dashboard"
2323
tplIssues base.TplName = "user/dashboard/issues"
2424
tplProfile base.TplName = "user/profile"
2525
tplOrgHome base.TplName = "org/home"
@@ -192,7 +192,7 @@ func Dashboard(ctx *context.Context) {
192192
if ctx.Written() {
193193
return
194194
}
195-
ctx.HTML(200, tplDashborad)
195+
ctx.HTML(200, tplDashboard)
196196
}
197197

198198
// Issues render the user issues page

0 commit comments

Comments
 (0)