X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d5e90c0d8786d310aa7cbfe32d0c5fe349e0f641..ac37b89859b695492b2edffd35cfe9e6abad59b3:/app/views/site/id.html.erb diff --git a/app/views/site/id.html.erb b/app/views/site/id.html.erb index 3bb20f29d..075e70b74 100644 --- a/app/views/site/id.html.erb +++ b/app/views/site/id.html.erb @@ -19,8 +19,11 @@ <% locale = select_locale(ID::LOCALES).to_s %> var id = iD() + .presets(iD.data.presets) + .imagery(iD.data.imagery) + .taginfo(iD.taginfo()) .embed(true) - .assetPath("/iD/") <%# Can't use asset_path('iD/') in production. %> + .assetPath("/iD/") <%# Cant use asset_path('iD/') in production. %> .assetMap(<%= assets("iD").to_json.html_safe %>) .locale("<%= locale %>", "<%= asset_path("iD/locales/#{locale}.json") %>") .preauth({