Skip to content

Commit 9425663

Browse files
authored
LU-181: Include suffix in controller urls (#68)
1 parent f4ffabf commit 9425663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

omod/src/main/java/org/openmrs/module/metadatasharing/web/controller/ConfigureController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public Map<Integer, Boolean> getPreferredConceptSources() {
7171
return sourceIdPreferredMap;
7272
}
7373

74-
@RequestMapping(value = CONFIGURE_PATH, method = RequestMethod.GET)
74+
@RequestMapping(value = CONFIGURE_PATH + ".form", method = RequestMethod.GET)
7575
public void configureGet(Model model) {
7676
AdministrationService adminService = Context.getAdministrationService();
7777
ConfigureForm configureForm = new ConfigureForm();
@@ -93,7 +93,7 @@ public void configureGet(Model model) {
9393
model.addAttribute(configureForm);
9494
}
9595

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

0 commit comments

Comments
 (0)