[openstreetmap-website] Assets don't correctly load if rails_port is installed in subdirectory (#364)

apmon notifications at github.com
Sat Jul 20 17:45:25 UTC 2013


The construction of urls in javascript files for images in the asset pipeline do not create correct URLs if the rails_port app is installed in a sub-directory on the server.

For example when running a branch of the rails_port in a subdirectory of ones home directory on the dev server like http://apmon.dev.openstreetmap.org/facebook-login the javascript tries to load images from http://apmon.dev.openstreetmap.org/assets/ rather than http://apmon.dev.openstreetmap.org/facebook-login/assets

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/364
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130720/c6fe54c1/attachment.html>


More information about the rails-dev mailing list