1616
1717@ Slf4j
1818@ Controller
19- @ RequestMapping (path = "/user/register " )
19+ @ RequestMapping (path = "/user" )
2020public class UserRegistrationController {
2121
2222 private final UserAccountService userAccountService ;
@@ -35,7 +35,7 @@ public UserRegistrationController(UserAccountService userAccountService, UserReg
3535 * @param model
3636 * @return Formular for entering Email-Address for Registration
3737 */
38- @ RequestMapping (path = "/" , method = RequestMethod .GET )
38+ @ RequestMapping (path = "/register " , method = RequestMethod .GET )
3939 public final String registerNewUserRequestForm (Model model ) {
4040 UserRegistrationForm userRegistrationForm = new UserRegistrationForm ();
4141 model .addAttribute ("userRegistrationForm" , userRegistrationForm );
@@ -50,7 +50,7 @@ public final String registerNewUserRequestForm(Model model) {
5050 * @param model
5151 * @return info page at success or return to form with error messages.
5252 */
53- @ RequestMapping (path = "/" , method = RequestMethod .POST )
53+ @ RequestMapping (path = "/register " , method = RequestMethod .POST )
5454 public final String registerNewUserRequestStoreAndSendEmailForVerification (
5555 @ Valid UserRegistrationForm userRegistrationForm ,
5656 BindingResult result ,
@@ -90,7 +90,7 @@ public final String registerNewUserRequestStoreAndSendEmailForVerification(
9090 * @param model
9191 * @return Formular for Entering Account Task or Error Messages.
9292 */
93- @ RequestMapping (path = "/confirm/{confirmId}" , method = RequestMethod .GET )
93+ @ RequestMapping (path = "/register/ confirm/{confirmId}" , method = RequestMethod .GET )
9494 public final String registerNewUserCheckResponseAndRegistrationForm (
9595 @ PathVariable String confirmId ,
9696 Model model
@@ -117,7 +117,7 @@ public final String registerNewUserCheckResponseAndRegistrationForm(
117117 * @param model
118118 * @return login page at success or page with error messages.
119119 */
120- @ RequestMapping (path = "/confirm/{confirmId}" , method = RequestMethod .POST )
120+ @ RequestMapping (path = "/register/ confirm/{confirmId}" , method = RequestMethod .POST )
121121 public final String registerNewUserCheckResponseAndRegistrationStore (
122122 @ PathVariable String confirmId ,
123123 @ Valid UserAccountForm userAccountForm ,
0 commit comments