mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 19:31:01 +00:00
TplNames renamed TplName ,fix #1229,Remember modify bee tool.
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user