Revision 59482
Added by Konstantina Galouni over 3 years ago
CommunityController.java | ||
---|---|---|
31 | 31 |
@Autowired |
32 | 32 |
private PortalService portalService; |
33 | 33 |
|
34 |
@RequestMapping(value = {"/"}, method = RequestMethod.GET)
|
|
34 |
@RequestMapping(value = {""}, method = RequestMethod.GET) |
|
35 | 35 |
public List<Portal> getAllCommunities() { |
36 | 36 |
return portalService.getAllPortalsByType("community"); |
37 | 37 |
} |
Also available in: Unified diff
[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).