provato con property array
This commit is contained in:
parent
aa6bf5f590
commit
f04301f9d1
@ -37,7 +37,7 @@ class GenDocController extends Controller
|
||||
|
||||
public function downloadFile(Request $id){
|
||||
$doc = Gendoc::find($id);
|
||||
return response()->download($doc->filename);
|
||||
return response()->download($doc['filename']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user