diff --git a/pom.xml b/pom.xml index 534a491..ae78221 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ osm.surveyor.plateau task-bldg - 0.0.7 + 0.0.8 war task-bldg TaskingManager for Plateau BLDG diff --git a/src/main/java/osm/surveyor/task/city/CityController.java b/src/main/java/osm/surveyor/task/city/CityController.java index 9af28d2..21f68c4 100644 --- a/src/main/java/osm/surveyor/task/city/CityController.java +++ b/src/main/java/osm/surveyor/task/city/CityController.java @@ -8,7 +8,6 @@ import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.servlet.view.RedirectView; import lombok.RequiredArgsConstructor; import osm.surveyor.task.city.model.City; @@ -50,11 +49,4 @@ repository.deleteByCitycode(citycode); return "redirect:/city"; } - - @GetMapping("/howto") - public RedirectView howto() { - RedirectView redirectView = new RedirectView(); - redirectView.setUrl("https://github.com/yuuhayashi/task-bldg/wiki"); - return redirectView; - } } diff --git a/src/main/java/osm/surveyor/task/user/config/SecurityConfig.java b/src/main/java/osm/surveyor/task/user/config/SecurityConfig.java index d15b9dd..476aa10 100644 --- a/src/main/java/osm/surveyor/task/user/config/SecurityConfig.java +++ b/src/main/java/osm/surveyor/task/user/config/SecurityConfig.java @@ -38,7 +38,7 @@ "/img/**", "/data/**", "/webjars/**", - "/howto/**", + "/howto", "/h2-console/**" ); } diff --git a/src/main/resources/templates/fragments/sidebar.html b/src/main/resources/templates/fragments/sidebar.html index dee8d7f..27dcd0b 100644 --- a/src/main/resources/templates/fragments/sidebar.html +++ b/src/main/resources/templates/fragments/sidebar.html @@ -55,7 +55,7 @@