class ProjectDetailsController {

    @PreAuthorize("hasPermission(#projectId, 'org.innovateuk.ifs.project.resource.ProjectCompositeId', 'ACCESS_PARTNER_PROJECT_LOCATION_PAGE')")
    @GetMapping("/{projectId}/organisation/{organisationId}/partner-project-location")
    public String viewPartnerProjectLocation(@PathVariable("projectId") final long projectId,
                                             @PathVariable("organisationId") final long organisationId,
                                             Model model,
                                             UserResource loggedInUser) {

        PartnerOrganisationResource partnerOrganisation = partnerOrganisationService.getPartnerOrganisation(projectId, organisationId).getSuccess();
        OrganisationResource organisation = organisationRestService.getOrganisationById(organisationId).getSuccess();
        PartnerProjectLocationForm form = new PartnerProjectLocationForm(partnerOrganisation.getPostcode(), partnerOrganisation.getInternationalLocation());

        return doViewPartnerProjectLocation(projectId, organisation, loggedInUser, model, form);
    }

}