testing_doc_download
This commit is contained in:
parent
b37435425a
commit
4b50962572
@ -38,7 +38,7 @@ class GenDocController extends Controller
|
||||
public function downloadFile(Request $id){
|
||||
$doc = Gendoc::find($id);
|
||||
// dd($doc);
|
||||
return response()->download($doc->filename);
|
||||
return response()->download($doc[0]->filename);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user