class NonIfsCompetitionController {

    @GetMapping("/non-ifs-competition/setup/{competitionId}")
    public String details(Model model, @PathVariable("competitionId") Long competitionId) {
        CompetitionResource competition = competitionRestService.getCompetitionById(competitionId).getSuccess();
        if (!competition.isNonIfs()) {
            return "redirect:/competition/setup/" + competitionId;
        }
        return getDetailsPage(model, competition, Optional.empty());
    }

}