Update iD initialization for v2.18.1

This commit is contained in:
Quincy Morgan 2020-07-20 16:14:28 -04:00
parent b7f022ecbe
commit de3ddafcd2
2 changed files with 6 additions and 7 deletions

View file

@ -17,7 +17,6 @@
<% 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 -%>
<%= tag.div "", :id => "id-container", :data => data %>
</body>