X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d102c9aaf478a4bad52a72b1b72470ba35ba464e..601d28d4b4ccd33ee6893fa2a73e41d57ca02b23:/app/views/site/id.html.erb?ds=sidebyside 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 %>