class ReviewInviteController {

    @GetMapping("/invite/panel/{inviteHash}")
    public String openInvite(@PathVariable("inviteHash") String inviteHash,
                             @ModelAttribute(name = "form", binding = false) ReviewInviteForm form,
                             UserResource loggedInUser,
                             Model model) {
        boolean userLoggedIn = loggedInUser != null;
        model.addAttribute("model", reviewInviteModelPopulator.populateModel(inviteHash, userLoggedIn));

        return "assessor-panel-invite";
    }

}