1 2 3 4 |
$file_path = storage_path('app/' . $exam->pdf); //logg($file_path); return response()->download($file_path, $exam->subject . '.pdf'); |
1 2 3 4 |
$file_path = storage_path('app/' . $exam->pdf); //logg($file_path); return response()->download($file_path, $exam->subject . '.pdf'); |