From 24d2c499ee5bcc05fd387514c355601665988b9a Mon Sep 17 00:00:00 2001 From: Ngoyen05 Date: Tue, 24 Dec 2024 17:09:51 +0300 Subject: [PATCH] fix --- .../com/example/lake_catalog/controller/LakeController.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/example/lake_catalog/controller/LakeController.java b/src/main/java/com/example/lake_catalog/controller/LakeController.java index e9d7ca4..107dc8c 100644 --- a/src/main/java/com/example/lake_catalog/controller/LakeController.java +++ b/src/main/java/com/example/lake_catalog/controller/LakeController.java @@ -43,6 +43,11 @@ public LakeController(LakeService lakeService) { this.lakeService = lakeService; } + @GetMapping("/main/search") + public String mainSearch() { + return "MapSearch/map-search"; + } + @GetMapping("/main") public String showMainPage(Model model, @RequestParam(defaultValue = "0") int page,