mirror of
https://github.com/beego/bee.git
synced 2024-11-29 16:51:28 +00:00
change the name from TplNames to TplName
This commit is contained in:
parent
5eb49ca0a6
commit
1f9de3a6e0
2
new.go
2
new.go
@ -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"
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user