Browse Source

Add missing CRUD saving operation

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.1-alpha
Pekka Helenius 4 years ago
parent
commit
2f9bfb19c7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java

+ 2
- 0
bookstore/src/main/java/com/fjordtek/bookstore/web/BookController.java View File

@ -127,6 +127,8 @@ public class BookController {
httpServerLogger.log(requestData, responseData);
bookRepository.save(book);
return "redirect:" + bookListPageView;
}


Loading…
Cancel
Save