2626
2727@ Slf4j
2828@ Controller
29- @ RequestMapping (path = "/project/root " )
29+ @ RequestMapping (path = "/project" )
3030public class ProjectRootController extends AbstractController {
3131
3232 private final ProjectControllerService projectControllerService ;
@@ -41,7 +41,7 @@ public ProjectRootController(
4141 this .taskMoveService = taskMoveService ;
4242 }
4343
44- @ RequestMapping (path = "/tasks " , method = RequestMethod .GET )
44+ @ RequestMapping (path = "/root " , method = RequestMethod .GET )
4545 public final String showRootProject (
4646 @ PageableDefault (sort = "orderIdProject" ) Pageable pageable ,
4747 @ RequestParam (required = false ) String message ,
@@ -65,7 +65,7 @@ public final String showRootProject(
6565 return "project/root/show" ;
6666 }
6767
68- @ RequestMapping (path = "/add/project" , method = RequestMethod .GET )
68+ @ RequestMapping (path = "/root/ add/project" , method = RequestMethod .GET )
6969 public final String addNewTopLevelProjectForm (
7070 @ ModelAttribute ("userSession" ) UserSessionBean userSession ,
7171 Locale locale , Model model
@@ -76,7 +76,7 @@ public final String addNewTopLevelProjectForm(
7676 return "project/root/add/project" ;
7777 }
7878
79- @ RequestMapping (path = "/add/project" , method = RequestMethod .POST )
79+ @ RequestMapping (path = "/root/ add/project" , method = RequestMethod .POST )
8080 public final String addNewTopLevelProjectSave (
8181 @ Valid Project project ,
8282 @ ModelAttribute ("userSession" ) UserSessionBean userSession ,
@@ -96,7 +96,7 @@ public final String addNewTopLevelProjectSave(
9696 );
9797 }
9898
99- @ RequestMapping (path = "/add/task" , method = RequestMethod .GET )
99+ @ RequestMapping (path = "/root/ add/task" , method = RequestMethod .GET )
100100 public final String addNewTaskToRootProjectGet (
101101 @ ModelAttribute ("userSession" ) UserSessionBean userSession ,
102102 Locale locale , Model model
@@ -130,7 +130,7 @@ public final String addNewTaskToRootProjectGet(
130130 return "project/root/add/task" ;
131131 }
132132
133- @ RequestMapping (path = "/add/task" , method = RequestMethod .POST )
133+ @ RequestMapping (path = "/root/ add/task" , method = RequestMethod .POST )
134134 public final String addNewTaskToRootProjectPost (
135135 @ ModelAttribute ("userSession" ) UserSessionBean userSession ,
136136 @ Valid Task task ,
0 commit comments