1

added pageNotFoundException on not existing routs

This commit is contained in:
[Mahgs]
2020-03-24 16:46:23 +01:00
parent 2e6c6bc26b
commit 79619a9476

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");
}
}