class GrantOfferLetterController {

    @PreAuthorize("hasPermission(#projectId, 'org.innovateuk.ifs.project.resource.ProjectCompositeId', 'ACCESS_GRANT_OFFER_LETTER_SEND_SECTION')")
    @PostMapping(value = "/grant-offer-letter", params = "removeGrantOfferLetterClicked")
    public String removeGrantOfferLetterFile(@P("projectId") @PathVariable("projectId") final Long projectId) {

        grantOfferLetterService.removeGrantOfferLetter(projectId);

        return redirectToGrantOfferLetterPage(projectId);
    }

}