init service

This commit is contained in:
life committed 2014-09-22 19:15:28 +08:00
1 parent b89721a0f4
commit 416dd77717
5 files changed
+80 -50

No files matched your search

+1 -3
View File
@@ -207,6 +207,4 @@ func (c Attach) DownloadAll(noteId string) revel.Result {
// file, _ := os.Open(dir + "/" + filename)
// fw.Seek(0, 0)
return c.RenderBinary(fw, filename, revel.Attachment, time.Now()) // revel.Attachment
}
}