From 1f9de3a6e0962a972d56d84b7908418f2a27ee6d Mon Sep 17 00:00:00 2001 From: astaxie Date: Thu, 7 Jan 2016 18:38:43 +0800 Subject: [PATCH] change the name from TplNames to TplName --- new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } `