]> git.openstreetmap.org Git - rails.git/blob - app/models/community.rb
Replace lookup_user_by_id with load_resource
[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