X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..ca92fe3359ce2a751763b1bb0bfe824a89b20853:/app/views/site/key.html.erb diff --git a/app/views/site/key.html.erb b/app/views/site/key.html.erb index abcf220e3..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']}" %>