app/models/c2/informant/locus.rb in c2-0.1.4 vs app/models/c2/informant/locus.rb in c2-0.1.5

- old
+ new

@@ -45,10 +45,10 @@ data = self.elements.inject({}) do |memo, element| memo[element.name] = entry.send(element.name) if entry.respond_to?(element.name) memo end data['_id'] = entry['_id'] - data[entry_label] = entry[entry_label] + data[entry_label] = entry.send(entry_label) if entry_label && entry.respond_to?(entry_label) data['created_at'] = entry['created_at'] data['updated_at'] = entry['updated_at'] data['errors'] = entry.errors data end \ No newline at end of file