Skip to content
Snippets Groups Projects

Issue #3447189 by dpacassi: Download link not working

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -139,7 +139,7 @@ class EntityExportCsvDownload implements ContainerInjectionInterface {
'Content-Type' => 'text/csv',
);
return (new BinaryFileResponse($file_uri, 200, $headers))
->deleteFileAfterSend(TRUE)
->deleteFileAfterSend(FALSE)
->setContentDisposition('attachment', basename($file_uri));
}
Loading