X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/76bc5eba0617e36ebb853d24212543d0e1d4904d..32c3000af7c2c4016b75abf5a396262e28aabd72:/app/views/site/key.html.erb diff --git a/app/views/site/key.html.erb b/app/views/site/key.html.erb index 91dfd1250..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| %> +
+ <% 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']}" %>