You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rezepte.js 510B

12345678910111213141516171819202122232425
  1. import Route from '@ember/routing/route';
  2. import Component from '@glimmer/component';
  3. import { tracked } from '@glimmer/tracking';
  4. import { action } from '@ember/object';
  5. import { inject as service } from '@ember/service';
  6. const REZEPT_KATEGORIEN = [
  7. 'Pasta',
  8. 'Schwein',
  9. 'Soße',
  10. 'Fleisch',
  11. 'Geflügel',
  12. 'Rind',
  13. 'Nachspeise',
  14. 'Backen'
  15. ];
  16. export default class RezeptRoute extends Route{
  17. @service store;
  18. async model() {
  19. return this.store.findAll('rezept');
  20. }
  21. }