From b714daa57698c33bfe2d1d416d117d7ed8547856 Mon Sep 17 00:00:00 2001 From: newjaehun Date: Wed, 27 Mar 2024 16:31:58 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=8F=84=EC=84=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=ED=9B=84=20=EB=8F=84=EC=84=9C=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../front/admin/book/controller/BookAdminController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/store/mybooks/front/admin/book/controller/BookAdminController.java b/src/main/java/store/mybooks/front/admin/book/controller/BookAdminController.java index 5f915491..ab159c4a 100644 --- a/src/main/java/store/mybooks/front/admin/book/controller/BookAdminController.java +++ b/src/main/java/store/mybooks/front/admin/book/controller/BookAdminController.java @@ -134,6 +134,6 @@ public String getBookUpdatePage(@RequestParam("id") Long bookId, Model model) { public String updateBook(@RequestParam("id") Long bookId, @Valid @ModelAttribute BookModifyRequest modifyRequest, @RequestParam(value = "thumbnailImage", required = false) MultipartFile thumbnailImage, @RequestParam(value = "contentImage", required = false) List contentImages) throws IOException { bookAdminService.updateBook(bookId, modifyRequest, thumbnailImage, contentImages); - return "redirect:/admin/book/update?id=" + bookId; + return "redirect:/admin/book"; } }