diff --git a/src/Thujohn/Pdf/Pdf.php b/src/Thujohn/Pdf/Pdf.php index bcf894d..51f3c5d 100644 --- a/src/Thujohn/Pdf/Pdf.php +++ b/src/Thujohn/Pdf/Pdf.php @@ -56,8 +56,7 @@ public function download($filename = 'dompdf_out', $options = array('compress' = $this->render(); $this->clear(); return new Response($this->dompdf->stream($filename.'.pdf', $options), 200, array( - 'Content-Type' => 'application/pdf', - 'Content-Disposition' => 'attachment; filename="'.$filename.'"' + 'Content-Type' => 'application/pdf' )); }