Legend:
- Unmodified
- Added
- Removed
-
src/main/java/project/fmo/app/projcetfmo/Web/HomeController.java
r1dd9226 rd14176d 9 9 @Controller 10 10 @RequestMapping({"/","/home"}) 11 public class StoreController {11 public class HomeController { 12 12 13 13 14 14 @GetMapping 15 public String getHomePage(){ 16 return "home"; 15 public String getHomePage(Model model){ 16 model.addAttribute("bodyContent", "home"); 17 return "master_template"; 17 18 } 18 19 20 @GetMapping("/access_denied") 21 public String getAccessDeniedPage(Model model) { 22 model.addAttribute("bodyContent", "access_denied"); 23 return "master-template"; 24 } 25 26 19 27 }
Note:
See TracChangeset
for help on using the changeset viewer.