Skip to content

Commit 52f5ebd

Browse files
committed
URL PATH of Actions - Controller Methods Refactoring
1 parent 5769e74 commit 52f5ebd

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
@@ -116,10 +116,10 @@ public final String editTaskPost(
116116
}
117117
userSession.setContextId(task.getContext().getId());
118118
model.addAttribute("userSession", userSession);
119-
return "redirect:/project/root/tasks";
119+
return "redirect:/project/root";
120120
}
121121
taskService.saveAndFlush(persistentTask);
122-
return "redirect:/project/" + projectId + "/";
122+
return "redirect:/project/" + projectId;
123123
}
124124
}
125125

0 commit comments

Comments
 (0)