]> git.openstreetmap.org Git - rails.git/blob - app/models/community.rb
Merge pull request #5331 from AntonKhorev/trace-badges-text-bg
[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