1
0
mirror of https://github.com/beego/bee.git synced 2024-11-26 01:11:30 +00:00

change the name from TplNames to TplName

This commit is contained in:
astaxie 2016-01-07 18:38:43 +08:00
parent 5eb49ca0a6
commit 1f9de3a6e0

2
new.go
View File

@ -237,7 +237,7 @@ type MainController struct {
func (c *MainController) Get() { func (c *MainController) Get() {
c.Data["Website"] = "beego.me" c.Data["Website"] = "beego.me"
c.Data["Email"] = "astaxie@gmail.com" c.Data["Email"] = "astaxie@gmail.com"
c.TplNames = "index.tpl" c.TplName = "index.tpl"
} }
` `