1

added a default route

This commit is contained in:
[Mahgs]
2020-03-18 13:52:48 +01:00
parent e2326d5f23
commit 523d7d2ad9
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ public class APIController {
@GetMapping("/getGroup/{groupId}")
@Secured("ROLE_api_user")
@ApiOperation(value = "Gibt die Gruppe mit der als Parameter mitgegebenden groupId zurück")
public Group getGroupFromId(@ApiParam("GruppenId der gefordeten Gruppe") @PathVariable Long groupId) throws EventException{
public Group getGroupFromId(@ApiParam("GruppenId der gefordeten Gruppe") @PathVariable Long groupId) throws EventException {
List<Event> eventList = eventService.getEventsOfGroup(groupId);
List<Group> groups = groupService.projectEventList(eventList);

View File

@ -9,7 +9,7 @@ import javax.servlet.http.HttpServletRequest;
public class MopsController {
@GetMapping("")
public String redirect(){
public String redirect() {
return "redirect:/gruppen2/";
}