Adjust for new naming conventions

This commit is contained in:
2018-04-10 18:46:54 +02:00
parent 5d875d23e2
commit 7b5cea3613
10 changed files with 15 additions and 39 deletions
-5
View File
@@ -79,11 +79,6 @@ export default Service.extend({
debug('[kredits] build', name, attributes);
let model = getOwner(this).lookup(`model:${name}`);
// coerce id to string
if (attributes.id) {
attributes.id = attributes.id.toString();
}
model.setProperties(attributes);
return model;
},