X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7ccd11ebf3c8e119a04119a2e89ce6a879560578..71f01eab43c0185b7e8368980f474a2587ed3710:/app/views/site/id.html.erb diff --git a/app/views/site/id.html.erb b/app/views/site/id.html.erb index f8d0f5858..0178c8f22 100644 --- a/app/views/site/id.html.erb +++ b/app/views/site/id.html.erb @@ -2,9 +2,9 @@ - <%= stylesheet_link_tag 'id' %> + <%= stylesheet_link_tag "id" %> - <%= javascript_include_tag 'id' %> + <%= javascript_include_tag "id" %> @@ -17,8 +17,7 @@ <% data[:consumer_secret] = token.client_application.secret -%> <% end %> <% data[:locale] = ID::LOCALES.preferred(preferred_languages).to_s -%> -<% data[:locale_path] = asset_path("iD/locales/#{data[:locale]}.json") -%> <% data[:asset_map] = assets("iD").to_json -%> -<%= content_tag :div, "", :id => "id-container", :data => data %> +<%= tag.div "", :id => "id-container", :data => data %>