We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the application is running in a sub-directory, public_filename does not appear to return the relative path.
The text was updated successfully, but these errors were encountered:
I'm not using the master anymore (I use the rewrite branch), so I can't confirm: I think you just need to set your own base_path.
http://github.com/technoweenie/attachment_fu/blob/master/lib/technoweenie/attachment_fu/backends/file_system_backend.rb#L27-29
If your full attachment path is /foo/public/images/file.gif, then your base_path should be /foo/public, making the public path /images/file.gif.
/foo/public/images/file.gif
/foo/public
/images/file.gif
Sorry, something went wrong.
Merge pull request technoweenie#12 from benstein/patch-1
c4c8921
Check for nil filename
No branches or pull requests
If the application is running in a sub-directory, public_filename does not appear to return the relative path.
The text was updated successfully, but these errors were encountered: