From d13e7840e6dead927842f095c3c8f2a4537abf50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20SA=C4=9EDI=C3=87?= Date: Thu, 28 Feb 2019 14:47:15 +0300 Subject: [PATCH] [DOC serializeHasMany ] Update ember-data imports --- addon/serializers/embedded-records-mixin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addon/serializers/embedded-records-mixin.js b/addon/serializers/embedded-records-mixin.js index a2c45d38108..454e119cc34 100644 --- a/addon/serializers/embedded-records-mixin.js +++ b/addon/serializers/embedded-records-mixin.js @@ -261,7 +261,7 @@ export default Mixin.create({ Use a custom (type) serializer for the post model to configure embedded comments ```app/serializers/post.js - import DS from 'ember-data; + import DS from 'ember-data'; export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, { attrs: { @@ -300,7 +300,7 @@ export default Mixin.create({ To embed the `ids` for a related object (using a hasMany relationship): ```app/serializers/post.js - import DS from 'ember-data; + import DS from 'ember-data'; export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, { attrs: { @@ -348,7 +348,7 @@ export default Mixin.create({ ``` ```app/serializers/user.js - import DS from 'ember-data; + import DS from 'ember-data'; export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, { attrs: {