Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
images in production subdirectory problem #54
Thanks for the gem first of all, saved me a lot of time :)
I do have a bug however, in development all images are fine
The reason for this is because in production I run in a subdirectory (have to)
however the jquery-ui images go wrong:
notice the difference in the /app/ part
when however I manually go to the correct url, the jquery-ui assets are actually there, so no problems there.. only routing.
Thank you for fixing this!
hmm, i'd have to verify how that works.
what i did in the past though for my own images in css files was always use:
because it embeds the image and requires less roundtrips to the server for data
is it possible to use asset_data_uri in your gem, given that it's less round trips to the server