Reduce interpolation in browse/start.js.erb
[rails.git] / app / assets / javascripts / globals.js.erb
index b4d2caf54eda05a6ba79c1f227730b1a0e9569d2..0f1b2b8ce8a236fa46a38edd7ec7bec811ba301b 100644 (file)
@@ -1,4 +1,5 @@
 OSM = {
   MAX_REQUEST_AREA: <%= MAX_REQUEST_AREA.to_json %>,
-  SERVER_URL:       <%= SERVER_URL.to_json %>
+  SERVER_URL:       <%= SERVER_URL.to_json %>,
+  API_VERSION:      <%= API_VERSION.to_json %>
 };