import Route from '@ember/routing/route'; import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; const REZEPT_KATEGORIEN = [ 'Pasta', 'Schwein', 'Soße', 'Fleisch', 'Geflügel', 'Rind', 'Nachspeise', 'Backen' ]; export default class RezeptRoute extends Route{ @service store; async model() { return this.store.findAll('rezept'); } }