X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/819e5ecf94b23004179cce2c53a1a32991324ec7..bb7f5ac2c8cf74669b421e7ae346a0cdd1ba5186:/lib/osm_community_index.rb diff --git a/lib/osm_community_index.rb b/lib/osm_community_index.rb index f738e8ae8..519306d8f 100644 --- a/lib/osm_community_index.rb +++ b/lib/osm_community_index.rb @@ -1,12 +1,2 @@ module OsmCommunityIndex - require "yaml" - - def self.community_index - @community_index ||= community_index_from_json - end - - def self.community_index_from_json - json_file = Rails.root.join("node_modules/osm-community-index/dist/resources.json") - JSON.parse(File.read(json_file)) - end end