class CompetitionSetupDocumentController {

    @GetMapping("/add")
    public String viewAddProjectDocument(@PathVariable(COMPETITION_ID_KEY) long competitionId,
                                         UserResource loggedInUser, Model model) {

        Redirect redirect = doViewProjectDocument(model, competitionId, loggedInUser);

        ProjectDocumentForm form = new ProjectDocumentForm(true, true);
        return redirect.redirect ? redirect.url : doViewSaveProjectDocument(model, form);
    }

}