Implemented thymeleaf to new tempalte

This commit is contained in:
2021-01-19 18:40:59 +01:00
parent e57e9183cb
commit f8e988a449
3 changed files with 16 additions and 27 deletions

View File

@@ -64,6 +64,11 @@ public class EventController {
.build();
}
@GetMapping("/new/mock")
public String getNewMock(Model model){
return "mock";
}
@ModelAttribute("eventList")
public List<Event> eventList() {
return eventList;