]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/id.html.erb
Fix rubocop warnings
[rails.git] / app / views / site / id.html.erb
index 7d186c5f618a9dab7d7221b0e831c742716867fe..ba8f7da72762d3073d67b6ab2e27274450e7dda6 100644 (file)
@@ -21,9 +21,9 @@
     var id = iD()
       .presets(iD.data.presets)
       .imagery(iD.data.imagery)
-      .taginfo(iD.taginfo())
+      .taginfo(iD.services.taginfo())
       .embed(true)
-      .assetPath("/iD/") <%# Cant use asset_path('iD/') in production. %>
+      .assetPath("iD/")
       .assetMap(<%= assets("iD").to_json.html_safe %>)
       .locale("<%= locale %>", "<%= asset_path("iD/locales/#{locale}.json") %>")
       .preauth({