X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4dd9ea34bc6675540c80b6cc186c77cd1f7b7f27..097449d8e190fe5c19aea5af816d25241b3dd591:/app/views/site/id.html.erb diff --git a/app/views/site/id.html.erb b/app/views/site/id.html.erb index e4dbf2d53..0178c8f22 100644 --- a/app/views/site/id.html.erb +++ b/app/views/site/id.html.erb @@ -6,15 +6,6 @@ <%= javascript_include_tag "id" %> - <% data = {} -%> @@ -26,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 %>