Revert "fork render"

This reverts commit 56af7e99a8.
This commit is contained in:
slene
2014-03-19 22:11:28 +08:00
parent 3634d1ee32
commit 483cc31369
13 changed files with 83 additions and 367 deletions

View File

@@ -15,10 +15,10 @@ func Home(ctx *middleware.Context) {
return
}
ctx.Data["PageIsHome"] = true
ctx.HTML(200, "home", ctx.Data)
ctx.Render.HTML(200, "home", ctx.Data)
}
func Help(ctx *middleware.Context) {
ctx.Data["PageIsHelp"] = true
ctx.HTML(200, "help", ctx.Data)
ctx.Render.HTML(200, "help", ctx.Data)
}