X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3ed9988ce5f57ed303326072f7f583b641e8774..a7d959e5886d8bf3003e798b375bf5b4e644d18c:/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 %>