mirror of
https://github.com/beego/bee.git
synced 2025-09-19 01:12:09 +00:00
change this to short name
This commit is contained in:
8
new.go
8
new.go
@@ -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"
|
||||
}
|
||||
`
|
||||
|
||||
|
Reference in New Issue
Block a user