init service

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

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
}
}