testing doc_download

This commit is contained in:
Amministratore 2025-10-21 18:09:38 +02:00
parent 42893dc1fe
commit b37435425a

View File

@ -37,8 +37,8 @@ class GenDocController extends Controller
public function downloadFile(Request $id){
$doc = Gendoc::find($id);
dd($doc);
return response()->download($doc['filename']);
// dd($doc);
return response()->download($doc->filename);
}
}