1
0
mirror of https://github.com/beego/bee.git synced 2025-07-05 18:20:18 +00:00

change this to short name

This commit is contained in:
astaxie
2014-11-05 22:48:09 +08:00
parent 930049f7de
commit 976602bc01
5 changed files with 80 additions and 80 deletions

8
new.go
View File

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