From b618ebae1d2986c1e8f4320e936315fada900024 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 17 May 2024 10:16:34 +0900 Subject: [PATCH] =?UTF-8?q?download(..)=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/base/file/web/FileController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/base/file/web/FileController.java b/src/main/java/cokr/xit/base/file/web/FileController.java index a3f214e..44ccc2a 100644 --- a/src/main/java/cokr/xit/base/file/web/FileController.java +++ b/src/main/java/cokr/xit/base/file/web/FileController.java @@ -88,7 +88,7 @@ public class FileController extends AbstractController { FileInfo fileInfo = fileService.getFile(fileID); fileService.updateDownloadCount(fileID); return new ModelAndView("downloadView") - .addObject("file", fileInfo); + .addObject("download", FileInfoFactory.getDownloadable(fileInfo)); } /**주어진 파일 정보 아이디의 순서대로 정렬 순서를 변경한다.