1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 04:30:39 +00:00

TplNames renamed TplName ,fix #1229,Remember modify bee tool.

This commit is contained in:
ysqi
2016-01-07 16:16:39 +08:00
parent 80912b6210
commit 4c0c0ec2a7
4 changed files with 24 additions and 24 deletions

View File

@ -24,11 +24,11 @@ type MainController struct {
}
func (this *MainController) Get() {
this.TplNames = "index.tpl"
this.TplName = "index.tpl"
}
func (this *MainController) Post() {
this.TplNames = "index.tpl"
this.TplName = "index.tpl"
this.Data["Success"] = cpt.VerifyReq(this.Ctx.Request)
}

View File

@ -37,11 +37,11 @@
// }
//
// func (this *MainController) Get() {
// this.TplNames = "index.tpl"
// this.TplName = "index.tpl"
// }
//
// func (this *MainController) Post() {
// this.TplNames = "index.tpl"
// this.TplName = "index.tpl"
//
// this.Data["Success"] = cpt.VerifyReq(this.Ctx.Request)
// }