Skip to content

Commit 50847ec

Browse files
committed
URL PATH of Actions - Controller Methods Refactoring
1 parent abf137d commit 50847ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/woehlke/simpleworklist/task/TaskController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public final String setDoneTaskGet(
183183
return "redirect:/taskstate/completed";
184184
}
185185

186-
@RequestMapping(path = "/{taskId}/incomplete/", method = RequestMethod.GET)
186+
@RequestMapping(path = "/{taskId}/incomplete", method = RequestMethod.GET)
187187
public final String unsetDoneTaskGet(
188188
@PathVariable("taskId") Task task
189189
) {
@@ -198,7 +198,7 @@ public final String unsetDoneTaskGet(
198198
}
199199
}
200200

201-
@RequestMapping(path = "/{taskId}/setfocus/", method = RequestMethod.GET)
201+
@RequestMapping(path = "/{taskId}/setfocus", method = RequestMethod.GET)
202202
public final String setFocusGet(
203203
@PathVariable("taskId") Task task,
204204
@RequestParam(required=false) String back

0 commit comments

Comments
 (0)