diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java index 2c14805..51a3334 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/web/BookBasePathAwareController.java @@ -101,7 +101,8 @@ public class BookBasePathAwareController { ////////////////////////////// @RequestMapping( - value = "${page.url.restapi.list}", + // TODO property definition ${page.url.restapi.books} does not work here + value = "/booklist", method = RequestMethod.POST, consumes = "application/json", produces = "application/hal+json" @@ -149,7 +150,8 @@ public class BookBasePathAwareController { } @RequestMapping( - value = "${page.url.restapi.list}" + "/{id}", + // TODO property definition ${page.url.restapi.books} does not work here + value = "/booklist" + "/{id}", method = RequestMethod.PUT, consumes = "application/json", produces = "application/hal+json"