[Trunk | Admin Tools]: CommunityController.java: in "getAllCommunities()" method, change @RequestMapping value from "/" to "" (in url no need to add / in the end to match this method).

This commit is contained in:
Konstantina Galouni 2020-09-28 10:30:56 +00:00
parent 80bf0ca415
commit 7db56cee72
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class CommunityController {
@Autowired
private PortalService portalService;
@RequestMapping(value = {"/"}, method = RequestMethod.GET)
@RequestMapping(value = {""}, method = RequestMethod.GET)
public List<Portal> getAllCommunities() {
return portalService.getAllPortalsByType("community");
}