Tuesday, March 7, 2017

Laravel file storage link not found exception

Using laravel 5.4. it's giving me an error of NotFoundHttpException in RouteCollection.php line 161:

I'm uploading files under storage directory. i can see files in project-root/storage/app/files

also i have created symlink using php artisan storage:link but when i visit generated link

http://example.com/storage/files/RcDPA5N6FpTWCnnh2w8bQO85id53oAiCeZgITpwB.png it gives me not found exception

Also i'm wondering i'm reffering resource then why route is being called.



via owaishanif786

Advertisement