X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4dd9ea34bc6675540c80b6cc186c77cd1f7b7f27..601d28d4b4ccd33ee6893fa2a73e41d57ca02b23:/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 %>