lib/pupa/models/organization.rb in pupa-0.2.3 vs lib/pupa/models/organization.rb in pupa-0.2.4
- old
+ new
@@ -2,10 +2,10 @@
# A group with a common purpose or reason for existence that goes beyond the set
# of people belonging to it.
class Organization
include Model
- self.schema = 'popolo/organization'
+ self.schema = File.expand_path(File.join('..', '..', '..', 'schemas', 'popolo', 'organization.json'), __dir__)
include Concerns::Timestamps
include Concerns::Sourceable
include Concerns::Nameable
include Concerns::Identifiable