Skip to content

Commit

Permalink
LU-181: Include suffix in controller urls (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
wikumChamith authored Jan 29, 2024
1 parent f4ffabf commit 9425663
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Map<Integer, Boolean> getPreferredConceptSources() {
return sourceIdPreferredMap;
}

@RequestMapping(value = CONFIGURE_PATH, method = RequestMethod.GET)
@RequestMapping(value = CONFIGURE_PATH + ".form", method = RequestMethod.GET)
public void configureGet(Model model) {
AdministrationService adminService = Context.getAdministrationService();
ConfigureForm configureForm = new ConfigureForm();
Expand All @@ -93,7 +93,7 @@ public void configureGet(Model model) {
model.addAttribute(configureForm);
}

@RequestMapping(value = CONFIGURE_PATH, method = RequestMethod.POST)
@RequestMapping(value = CONFIGURE_PATH + ".form", method = RequestMethod.POST)
public String configurePost(ConfigureForm configureForm, Errors errors, Model model, HttpSession session,
HttpServletRequest request) {
validator.validate(configureForm, errors);
Expand Down

0 comments on commit 9425663

Please sign in to comment.