From 704944aac9827dcc00c49e027617c3ca245a47e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8E=E1=85=AC=E1=84=8C=E1=85=AE=E1=86=AB=E1=84=92?= =?UTF-8?q?=E1=85=A9?= Date: Tue, 12 Sep 2023 16:57:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A0=95=EC=A0=81=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pium/controller/AdminPageController.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/pium/src/main/java/com/official/pium/controller/AdminPageController.java b/backend/pium/src/main/java/com/official/pium/controller/AdminPageController.java index d457bd21c..24e0b59d9 100644 --- a/backend/pium/src/main/java/com/official/pium/controller/AdminPageController.java +++ b/backend/pium/src/main/java/com/official/pium/controller/AdminPageController.java @@ -42,7 +42,7 @@ public String adminPage(@AdminAuth Admin admin, Model model) { } model.addAttribute("admin", admin); - return "/admin/index"; + return "admin/index"; } @GetMapping("/dict") @@ -55,7 +55,7 @@ public String dictionaryPlants(@PageableDefault Pageable pageable, @AdminAuth Ad model.addAttribute("admin", admin); model.addAttribute("page", dictionaryPlants); model.addAttribute("plants", dictionaryPlants.getContent()); - return "/admin/dict/list"; + return "admin/dict/list"; } @GetMapping("/dict/{id}") @@ -69,7 +69,7 @@ public String dictionaryPlant(@PathVariable Long id, @AdminAuth Admin admin, Mod model.addAttribute("admin", admin); model.addAttribute("plant", dictionaryPlant); - return "/admin/dict/plant"; + return "admin/dict/plant"; } @GetMapping("/dict/create") @@ -79,7 +79,7 @@ public String dictionaryPlantCreateForm(@AdminAuth Admin admin, Model model) { } model.addAttribute("admin", admin); - return "/admin/dict/create"; + return "admin/dict/create"; } @GetMapping("/dict/{id}/update") @@ -93,7 +93,7 @@ public String dictionaryPlantUpdateForm(@PathVariable Long id, @AdminAuth Admin model.addAttribute("admin", admin); model.addAttribute("plant", dictionaryPlant); - return "/admin/dict/update"; + return "admin/dict/update"; } @GetMapping("/dict/requests") @@ -103,12 +103,12 @@ public String dictionaryPlantRequests(@AdminAuth Admin admin, Model model) { } model.addAttribute("admin", admin); - return "/admin/dict/requests"; + return "admin/dict/requests"; } @GetMapping("/login") public String loginPage(Model model) { - return "/admin/login"; + return "admin/login"; } @PostMapping("/login")