Update iD initialization for v2.18.1
This commit is contained in:
parent
b7f022ecbe
commit
de3ddafcd2
2 changed files with 6 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue