Usando resource path para canasta ejemplo
This commit is contained in:
parent
a7096e7dc0
commit
1498b67200
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class ComisionesController
|
||||||
|
|
||||||
public function descargarCanastaEjemplo(): BinaryFileResponse
|
public function descargarCanastaEjemplo(): BinaryFileResponse
|
||||||
{
|
{
|
||||||
$file = storage_path('csv/productos.csv');
|
$file = resource_path('csv/productos.csv');
|
||||||
return response()->download($file);
|
return response()->download($file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue