Module: DigitalObjects

Defined in:
backend/app/model/mixins/digital_objects.rb

Instance Method Summary collapse

Instance Method Details

#reindex_linked_recordsObject



9
10
11
# File 'backend/app/model/mixins/digital_objects.rb', line 9

def reindex_linked_records
  self.class.update_mtime_for_ids([self.id])
end

#update_from_json(json, opts = {}, apply_nested_records = true) ⇒ Object



3
4
5
6
7
# File 'backend/app/model/mixins/digital_objects.rb', line 3

def update_from_json(json, opts = {}, apply_nested_records = true)
  result = super
  reindex_linked_records
  result
end