Why is this Dowloand Process not working?
I made a button coding below to download pdf, but when I press the print button, any download does not start, it does not give an error.
1 Reply
You need to return the stream soo:
return response()->download($filePath);
Im write the file to a tmp dir then return the path and delete after download