TextEntry url
I have a custom page and it displays Infolist with some TextEntries. In my custom page I have this code:
So there is a company model which can have multiple files. This will display a list of all files. But I want to be able to have file name displayed to be clickable and link to a file. Issue is that in database (files.path) is stored only a filename. In order to have full url, I must do
So there is a company model which can have multiple files. This will display a list of all files. But I want to be able to have file name displayed to be clickable and link to a file. Issue is that in database (files.path) is stored only a filename. In order to have full url, I must do
asset('storage/'. $filenameFromDB). How can I do that?