This is probably the stupidest question that I’m ever going to ask, but
how do I create a link to a file? To be more clear, I simply want to
create a link to a file that I am storing in the /public directory, say
file.pdf. So, I upload the file to /public/ and then I would like to be
able to do something like,
You need provide path for file…
if your file.pdf in /public you should do “/public/file.pdf”,
otherwise it will look for controller … and throw route error…
You need provide path for file…
if your file.pdf in /public you should do “/public/file.pdf”,
otherwise it will look for controller … and throw route error…