From 6ee4fba3275d258f40327a4147ab9053cc275138 Mon Sep 17 00:00:00 2001 From: Loredana Date: Sun, 21 Apr 2019 17:41:00 +0300 Subject: [PATCH] update post controller --- .../com/baeldung/modelmapper/controller/PostRestController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-rest/src/main/java/com/baeldung/modelmapper/controller/PostRestController.java b/spring-boot-rest/src/main/java/com/baeldung/modelmapper/controller/PostRestController.java index c0cbca5220..68c17975d4 100644 --- a/spring-boot-rest/src/main/java/com/baeldung/modelmapper/controller/PostRestController.java +++ b/spring-boot-rest/src/main/java/com/baeldung/modelmapper/controller/PostRestController.java @@ -21,6 +21,7 @@ import com.baeldung.modelmapper.service.IPostService; import com.baeldung.modelmapper.service.IUserService; @Controller +@RequestMapping("/posts") public class PostRestController { @Autowired