add products

This commit is contained in:
2020-06-29 20:08:48 +02:00
parent dd7df2b28e
commit 525e465f5d
15 changed files with 120 additions and 97 deletions
+1 -8
View File
@@ -7,13 +7,6 @@ export default class ApplicationAdapter extends JSONAPIAdapter {
urlForUpdateRecord(id, modelName, snapshot) {
return `api/${modelName}s`;
}
createRecord(store, type, snapshot) {
let data = this.serialize(snapshot, { includeId: true });
//let url = `/${type.modelName}`;
// ...
}
}
}