From 79bc979f7845cb308f23f804ce7a9ebe99ce62dd Mon Sep 17 00:00:00 2001 From: Mathis Kral Date: Tue, 7 Nov 2023 17:50:29 +0100 Subject: [PATCH] Add link to eventPlanner.html in the controller --- src/main/java/catering/order/OrderController.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/catering/order/OrderController.java b/src/main/java/catering/order/OrderController.java index 02db231..555e55a 100644 --- a/src/main/java/catering/order/OrderController.java +++ b/src/main/java/catering/order/OrderController.java @@ -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);