X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff7ddb6b86bf918a9418af7382836b41594d45e4..d6f518f6279ddd8e07d8f78577b1414567fc6a5c:/app/views/site/key.html.erb diff --git a/app/views/site/key.html.erb b/app/views/site/key.html.erb index 317266b1f..e43d2c29a 100644 --- a/app/views/site/key.html.erb +++ b/app/views/site/key.html.erb @@ -1,9 +1,9 @@
- +
<% YAML.load_file(Rails.root.join("config/key.yml")).each do |name,data| %> <% data.each do |entry| %> " data-zoom-max="<%= entry["max_zoom"] %>"> -
+ <%= image_tag "key/#{name}/#{entry['image']}" %>