]> git.openstreetmap.org Git - rails.git/blob - app/models/community.rb
Move api messages resources to api namespace
[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