fix return value

This commit is contained in:
nazoking
2015-10-13 18:57:20 +09:00
parent 5194fc5f15
commit a1efa60741

View File

@@ -298,7 +298,7 @@ trait RepositoryViewerControllerBase extends ControllerBase {
contentType = "application/octet-stream"
response.setContentLength(loader.getSize.toInt)
loader.copyTo(response.getOutputStream)
Unit
()
} getOrElse NotFound
} else {
html.blob(id, repository, path.split("/").toList,