1

Merge pull request #130 from hhu-propra2/pageNotFound

added pageNotFoundException on not existing routs
This commit is contained in:
tomvahl
2020-03-24 16:48:34 +01:00
committed by GitHub

View File

@ -427,4 +427,9 @@ public class Gruppen2Controller {
}
return "redirect:/gruppen2/details/members/" + groupId;
}
@GetMapping("*")
public String defaultLink() throws EventException {
throw new PageNotFoundException("\uD83D\uDE41");
}
}