11 months ago

How to access files from blade in my storage directory?

Posted 11 months ago by MartinZeltin

I have a file in my storage directory in /storage/invoices/invoice.pdf and I can't access it from my blade view file.

For example:

<a href="{{ storage_path() . '/invoices/' . $data->invoice_pdf }}">

this generates this url


Please sign in or create an account to participate in this conversation.