Set application type to be correct
This commit is contained in:
parent
43867df262
commit
2973591790
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue