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
6e677eba82
commit
c49210ca3c
|
@ -24,6 +24,11 @@ public class OrderController {
|
||||||
return "orders";
|
return "orders";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("/event")
|
||||||
|
public String event() {
|
||||||
|
return "eventPlanner";
|
||||||
|
}
|
||||||
|
|
||||||
@PostMapping("/orders/remove")
|
@PostMapping("/orders/remove")
|
||||||
public String removeOrder(@RequestParam int orderID) {
|
public String removeOrder(@RequestParam int orderID) {
|
||||||
orderRepository.removeOrder(orderID);
|
orderRepository.removeOrder(orderID);
|
||||||
|
|
Loading…
Reference in a new issue