16
16
17
17
@ Slf4j
18
18
@ Controller
19
- @ RequestMapping (path = "/user/register " )
19
+ @ RequestMapping (path = "/user" )
20
20
public class UserRegistrationController {
21
21
22
22
private final UserAccountService userAccountService ;
@@ -35,7 +35,7 @@ public UserRegistrationController(UserAccountService userAccountService, UserReg
35
35
* @param model
36
36
* @return Formular for entering Email-Address for Registration
37
37
*/
38
- @ RequestMapping (path = "/" , method = RequestMethod .GET )
38
+ @ RequestMapping (path = "/register " , method = RequestMethod .GET )
39
39
public final String registerNewUserRequestForm (Model model ) {
40
40
UserRegistrationForm userRegistrationForm = new UserRegistrationForm ();
41
41
model .addAttribute ("userRegistrationForm" , userRegistrationForm );
@@ -50,7 +50,7 @@ public final String registerNewUserRequestForm(Model model) {
50
50
* @param model
51
51
* @return info page at success or return to form with error messages.
52
52
*/
53
- @ RequestMapping (path = "/" , method = RequestMethod .POST )
53
+ @ RequestMapping (path = "/register " , method = RequestMethod .POST )
54
54
public final String registerNewUserRequestStoreAndSendEmailForVerification (
55
55
@ Valid UserRegistrationForm userRegistrationForm ,
56
56
BindingResult result ,
@@ -90,7 +90,7 @@ public final String registerNewUserRequestStoreAndSendEmailForVerification(
90
90
* @param model
91
91
* @return Formular for Entering Account Task or Error Messages.
92
92
*/
93
- @ RequestMapping (path = "/confirm/{confirmId}" , method = RequestMethod .GET )
93
+ @ RequestMapping (path = "/register/ confirm/{confirmId}" , method = RequestMethod .GET )
94
94
public final String registerNewUserCheckResponseAndRegistrationForm (
95
95
@ PathVariable String confirmId ,
96
96
Model model
@@ -117,7 +117,7 @@ public final String registerNewUserCheckResponseAndRegistrationForm(
117
117
* @param model
118
118
* @return login page at success or page with error messages.
119
119
*/
120
- @ RequestMapping (path = "/confirm/{confirmId}" , method = RequestMethod .POST )
120
+ @ RequestMapping (path = "/register/ confirm/{confirmId}" , method = RequestMethod .POST )
121
121
public final String registerNewUserCheckResponseAndRegistrationStore (
122
122
@ PathVariable String confirmId ,
123
123
@ Valid UserAccountForm userAccountForm ,
0 commit comments