2024-09-20 14:35:59 +00:00
|
|
|
import Route from "@ember/routing/route";
|
2024-09-19 14:43:15 +00:00
|
|
|
|
|
|
|
export default class ApplicationRoute extends Route {
|
2024-09-20 14:35:59 +00:00
|
|
|
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,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|
|
|
|
}
|
2024-09-19 14:43:15 +00:00
|
|
|
}
|