Fixed file download.

This commit is contained in:
takezoe
2013-05-03 13:30:21 +09:00
parent 32d554f2f7
commit c72624316a

View File

@@ -155,7 +155,7 @@ class RepositoryViewerController extends ControllerBase {
if(raw){ if(raw){
// Download // Download
contentType = "application/octet-stream" contentType = "application/octet-stream"
JGitUtil.getContent(git, objectId, false) JGitUtil.getContent(git, objectId, false).get
} else { } else {
// Viewer // Viewer