Skip to content

Commit 86225db

Browse files
committed
add ember-data-fastboot
1 parent e948ba8 commit 86225db

File tree

3 files changed

+440
-0
lines changed

3 files changed

+440
-0
lines changed

app/adapters/application.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
import JSONAPIAdapter from '@ember-data/adapter/json-api';
22

33
export default class ApplicationAdapter extends JSONAPIAdapter {
4+
shouldBackgroundReloadAll() {
5+
return false;
6+
}
7+
8+
shouldBackgroundReloadRecord() {
9+
return false;
10+
}
11+
412
urlForFindAll(modelName) {
513
const path = this.pathForType(modelName);
614
return `/data/${path}/all.json`;

0 commit comments

Comments
 (0)