sync
This commit is contained in:
parent
c75acc48a2
commit
5dbf3d9af2
10 changed files with 114 additions and 66 deletions
|
@ -1,7 +1,19 @@
|
|||
import Route from '@ember/routing/route';
|
||||
import Route from "@ember/routing/route";
|
||||
|
||||
export default class ApplicationRoute extends Route {
|
||||
model() {
|
||||
console.log('root route loaded');
|
||||
}
|
||||
model() {
|
||||
console.log("root route loaded");
|
||||
return {
|
||||
notes: [
|
||||
{
|
||||
displayname: "alice",
|
||||
username: "bob",
|
||||
server: "example.com",
|
||||
content: "lorem ipsum",
|
||||
createdAt: Date.now() - 360000,
|
||||
editedAt: Date.now() - 60000,
|
||||
},
|
||||
],
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue