When we do something like this:
Storage::disk(\'local\')->put(\'file.txt\', \'Contents\');
How do you make a link to that file in a view
UPDATE:
According to laravel docs, You can get the URL to the file like this:
use Illuminate\Support\Facades\Storage;
$url = Storage::url('file1.jpg');
Remember, if you are using the local driver, all files that should be publicly accessible should be placed in the
storage/app/publicdirectory. Furthermore, you should create a symbolic link atpublic/storagewhich points to thestorage/app/publicdirectory.
Hope this helps!