v1.0 fixed

This commit is contained in:
life
2014-10-23 10:03:19 +08:00
parent 0ea4843cac
commit 1f51f6cc9b
12 changed files with 76 additions and 70 deletions

View File

@ -16,7 +16,7 @@ type Index struct {
func (c Index) Index() revel.Result {
c.SetUserInfo()
c.RenderArgs["title"] = "leanote"
c.RenderArgs["openRegister"] = openRegister
c.RenderArgs["openRegister"] = configService.GlobalStringConfigs["openRegister"]
lang := c.SetLocale()
return c.RenderTemplate("home/index_" + lang + ".html");