[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:
parent
80bf0ca415
commit
7db56cee72
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue