Implemented thymeleaf to new tempalte
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user