We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a0640 commit 1a7a96dCopy full SHA for 1a7a96d
mirage/serializers/application.js
@@ -1,11 +1,11 @@
1
-import { Serializer } from 'ember-cli-mirage';
+import { ActiveModelSerializer } from 'ember-cli-mirage';
2
3
-export default Serializer.extend({
+export default ActiveModelSerializer.extend({
4
keyForCollection(modelName) {
5
if (modelName === 'version-download') {
6
return 'version_downloads';
7
}
8
9
- return Serializer.prototype.keyForCollection.apply(this, arguments);
+ return ActiveModelSerializer.prototype.keyForCollection.apply(this, arguments);
10
11
});
0 commit comments