]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/openlayers.js
Serve OpenLayers through the asset pipeline
[rails.git] / app / assets / javascripts / openlayers.js
diff --git a/app/assets/javascripts/openlayers.js b/app/assets/javascripts/openlayers.js
new file mode 100644 (file)
index 0000000..5cdc4f2
--- /dev/null
@@ -0,0 +1,6 @@
+//= require OpenLayers
+//= require OpenStreetMap
+
+OpenLayers._getScriptLocation = function() {
+    return "/assets/";
+};