linstrom/frontend-src/app/routes/notes/note.ts
2024-08-22 19:57:53 +02:00

9 lines
268 B
TypeScript

import Route from '@ember/routing/route';
import type Transition from '@ember/routing/transition';
export default class NotesNoteRoute extends Route {
model(params: any, transition: Transition) {
console.log(params);
return { title: params.note_id };
}
}