register open option

This commit is contained in:
life
2014-05-07 20:31:30 +08:00
parent d5928b06cf
commit 4a6381bf5d
17 changed files with 370 additions and 331 deletions

View File

@ -14,8 +14,9 @@ type Index struct {
// leanote展示页, 没有登录的, 或已登录明确要进该页的
func (c Index) Index() revel.Result {
c.SetUserInfo();
c.RenderArgs["title"] = "leanote";
c.SetUserInfo()
c.RenderArgs["title"] = "leanote"
c.RenderArgs["openRegister"] = openRegister
c.SetLocale()
return c.RenderTemplate("home/index.html");