Skip to content

Commit 77e6e7e

Browse files
committed
URL PATH of Actions - Controller Methods Refactoring
1 parent dea25dc commit 77e6e7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/woehlke/simpleworklist/project/ProjectRootController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public final String addNewTopLevelProjectSave(
9393
result,
9494
locale,
9595
model,
96-
"project/root/add/project"
96+
"project/root"
9797
);
9898
}
9999

@@ -165,7 +165,7 @@ public final String addNewTaskToRootProjectPost(
165165
task.setOrderIdTaskState(++maxOrderIdTaskState);
166166
task = taskService.saveAndFlush(task);
167167
log.info(task.toString());
168-
return "redirect:/project/root/tasks";
168+
return "redirect:/project/root";
169169
}
170170
}
171171
}

0 commit comments

Comments
 (0)