jeudi 22 octobre 2020

how to download csv file then redirect the page using laravel

I want to download the CSV file after that want to redirect the page on laravel controller.but does not work on the below code

$downloadthefile=Response::make($return_data);
Response.redirect('/app-sent-report');


via Chebli Mohamed