diff --git a/new.go b/new.go index 36c02af..bba644d 100644 --- a/new.go +++ b/new.go @@ -237,7 +237,7 @@ type MainController struct { func (c *MainController) Get() { c.Data["Website"] = "beego.me" c.Data["Email"] = "astaxie@gmail.com" - c.TplNames = "index.tpl" + c.TplName = "index.tpl" } `