Skip to content

Commit

Permalink
Merge pull request #170 from nhnacademy-be4-My-Books/feature/elastic_…
Browse files Browse the repository at this point in the history
…search

refactor: 도서 수정 후 도서관리페이지로
  • Loading branch information
newjaehun authored Mar 27, 2024
2 parents d8e561d + b714daa commit f4389ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<MultipartFile> contentImages) throws IOException {
bookAdminService.updateBook(bookId, modifyRequest, thumbnailImage, contentImages);
return "redirect:/admin/book/update?id=" + bookId;
return "redirect:/admin/book";
}
}

0 comments on commit f4389ac

Please sign in to comment.