From fc8189685e489090b20b8ea01e1710aff10285b3 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 4 Dec 2019 19:58:21 +0000 Subject: [PATCH] Fix erblint warnings --- .erb-lint.yml | 2 +- app/views/site/key.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.erb-lint.yml b/.erb-lint.yml index 812a6f538..ca95fb0d7 100644 --- a/.erb-lint.yml +++ b/.erb-lint.yml @@ -10,7 +10,7 @@ linters: - .rubocop.yml Layout/InitialIndentation: Enabled: false - Layout/TrailingBlankLines: + Layout/TrailingEmptyLines: Enabled: false Layout/TrailingWhitespace: Enabled: false diff --git a/app/views/site/key.html.erb b/app/views/site/key.html.erb index abcf220e3..317266b1f 100644 --- a/app/views/site/key.html.erb +++ b/app/views/site/key.html.erb @@ -1,6 +1,6 @@
- <% 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"] %>">
-- 2.39.5