Thanks for helping. I should be more specific:
The template common_js.html.ep (in ./templates) that load the js files is
<script src="monomapdata.js" type="text/javascript"></script>
<script src="monomap.js" type="text/javascript"></script>
<script src="utils.js" type="text/javascript"></script>
This works when I call
http:// .... :3000/libmap, but not with
:3000/fr/libmap
If I change the src values to
<script src="../monomapdata.js" type="text/javascript"></script>
<script src="../monomap.js" type="text/javascript"></script>
<script src="../utils.js" type="text/javascript"></script>
:3000/fr/libmap works. But is it the right way to do this ?
Thanks