Set application type to be correct

This commit is contained in:
R. Eric Wheeler 2016-07-17 17:19:09 -07:00
parent 43867df262
commit 2973591790
1 changed files with 2 additions and 0 deletions

View File

@ -91,7 +91,9 @@ class ResumeControllerProvider implements ControllerProviderInterface
ResponseHeaderBag::DISPOSITION_ATTACHMENT,
$filename . '.pdf'
);
$response->headers->set('Content-Type', 'application/pdf');
$response->headers->set('Content-Disposition', $disposition);
$response->send();
});