class ResearchCategoryController {

    @GetMapping
    public String getResearchCategories(Model model,
                                        UserResource loggedInUser,
                                        @ModelAttribute(FORM_ATTR_NAME) ResearchCategoryForm researchCategoryForm,
                                        @SuppressWarnings("unused") BindingResult bindingResult,
                                        @PathVariable long applicationId,
                                        @PathVariable long questionId) {
        ApplicationResource applicationResource = applicationService.getById(applicationId);

        model.addAttribute("model", researchCategoryModelPopulator.populate(
                applicationResource, loggedInUser.getId(), questionId));
        researchCategoryFormPopulator.populate(applicationResource, researchCategoryForm);
        return "application/questions/research-categories";
    }

}