Rimosso il ->get()
This commit is contained in:
parent
6e907e5cf3
commit
aa6bf5f590
@ -36,7 +36,7 @@ class GenDocController extends Controller
|
||||
}
|
||||
|
||||
public function downloadFile(Request $id){
|
||||
$doc = Gendoc::find($id)->get();
|
||||
$doc = Gendoc::find($id);
|
||||
return response()->download($doc->filename);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user