diff --git a/src/main/java/guru/springframework/controllers/IndexController.java b/src/main/java/guru/springframework/controllers/IndexController.java index 95280b66..0c61a134 100644 --- a/src/main/java/guru/springframework/controllers/IndexController.java +++ b/src/main/java/guru/springframework/controllers/IndexController.java @@ -6,7 +6,7 @@ @Controller public class IndexController { @RequestMapping("/") - String index(){ + public String index(){ return "index"; } }