]> git.openstreetmap.org Git - rails.git/blob - app/models/community.rb
Consistently exclude hidden diaries from spam scoring
[rails.git] / app / models / community.rb
1 class Community < FrozenRecord::Base
2   self.base_path = Rails.root.join("node_modules/osm-community-index/dist/")
3   self.backend = OsmCommunityIndex::ResourceBackend
4
5   def url
6     strings["url"]
7   end
8 end