leanote v1.1 build

This commit is contained in:
lealife
2015-10-10 16:55:36 +08:00
parent c844c8b188
commit a4d9d8e0d3
12 changed files with 240 additions and 82 deletions

View File

@ -126,7 +126,7 @@ func (c Note) Index(noteId, online string) revel.Result {
c.RenderArgs["globalConfigs"] = configService.GetGlobalConfigForUser()
// return c.RenderTemplate("note/note.html")
if isDev, _ := revel.Config.Bool("mode.dev"); isDev && online == "" {
return c.RenderTemplate("note/note-dev.html")
} else {