Add sideloaded records to record arrays
This commit is contained in:
parent
af07dfb29e
commit
c808d3d3b8
|
@ -63,6 +63,7 @@ Travis.Adapter = Ember.RESTAdapter.extend
|
|||
# we need to skip records of type, which is loaded by adapter already
|
||||
if (type = Ember.get(Travis, 'mappings')[name]) && type != klass
|
||||
for record in records
|
||||
type.findFromCacheOrLoad(record)
|
||||
record = type.findFromCacheOrLoad(record)
|
||||
@addToRecordArrays(record)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user