(refs #12) Implemented the upload area in preview.hrml.

This commit is contained in:
shimamoto
2014-04-27 16:59:54 +09:00
parent a7b4f8de8d
commit 1f66670819
3 changed files with 18 additions and 2 deletions

View File

@@ -24,7 +24,9 @@ class FileUploadController extends ScalatraServlet with FileUploadSupport {
}
post("/image/:owner/:repository"){
execute { (file, fileId) =>
}
}
private def execute(f: (FileItem, String) => Unit) = fileParams.get("file") match {