In the directory that holds my site example.com, I have a symlink from
example.com/html/backend to the public folder in my rails application.
That public folder holds a folder called uploads which contains
attachments that are sent there by the attachment_fu plugin.
However, when I link to one of these files:
<%= link_to “my_file_name”, “/uploads/0000/0009/my_file.pdf” %>
My browser sends me to example.com/uploads/0000/0009/my_file.pdf,
instead of example.com/backend/uploads/0000/0009/my_file.pdf.
correctly and send me to the right subdirectories of my public folder:
files are, and why doesn’t rails know that my public folder is at
Any help would be very appreciated.