May 21, 2020
8
Level 1
how to link up storage files
I have ran this command at my terminal
php artisan storage:link
but I still get this errors repeatedly.
The file "C:\xampp\htdocs\fresh\public\storage/images/skoolss_1589826476.pptx" does not exist
this is my controller where I thought I have linked it up
public function download(Slide $slide)
{
return response()->download(public_path("storage/images/{$slide->slide}"));
}
and my blade file where I call it
<p><a href="{{route('avatar.download',$slide)}}">Download {{ $slide->slide }}</a></p>
I need helpp
Please or to participate in this conversation.