Serve OpenLayers through the asset pipeline
This commit is contained in:
parent
afc3a4380c
commit
716262f211
73 changed files with 11 additions and 10 deletions
6
app/assets/javascripts/openlayers.js
Normal file
6
app/assets/javascripts/openlayers.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
//= require OpenLayers
|
||||
//= require OpenStreetMap
|
||||
|
||||
OpenLayers._getScriptLocation = function() {
|
||||
return "/assets/";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue