mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Add link to eventPlanner.html in the controller
This commit is contained in:
parent
a9a8529ccb
commit
79bc979f78
|
@ -24,6 +24,11 @@ public class OrderController {
|
|||
return "orders";
|
||||
}
|
||||
|
||||
@GetMapping("/event")
|
||||
public String event() {
|
||||
return "eventPlanner";
|
||||
}
|
||||
|
||||
@PostMapping("/orders/remove")
|
||||
public String removeOrder(@RequestParam int orderID) {
|
||||
orderRepository.removeOrder(orderID);
|
||||
|
|
Loading…
Reference in a new issue