class CompetitionManagementCompetitionController {

    @PostMapping("/{competitionId}/release-feedback")
    public String releaseFeedback(@PathVariable("competitionId") Long competitionId) {
        competitionPostSubmissionRestService.releaseFeedback(competitionId);

        if (isReleaseFeedbackCompletionStage(competitionId)) {
            return "redirect:/dashboard/previous";
        } else {
            return "redirect:/dashboard/project-setup";
        }
    }

}