ace editor, markdown editor

This commit is contained in:
life committed 2015-01-08 00:36:28 +08:00
1 parent be01c9c3f7
commit 2cfc89ca5f
1233 files changed
+24568 -10275

No files matched your search

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