rfc-process
Version:
The default blueprint for ember-cli addons.
16 lines (13 loc) • 371 B
JavaScript
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
export default class ApplicationRoute extends Route {
store;
async model() {
const [, , toc] = await Promise.all([
this.store.findAll('team'),
this.store.findAll('stage'),
this.store.findRecord('toc', 'rfcs'),
]);
return toc;
}
}