leanote v1.1 build

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

No files matched your search

+1 -1
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 {