testing doc_download
This commit is contained in:
parent
42893dc1fe
commit
b37435425a
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user