1107798da6
Generated with a codemode: https://github.com/ember-cli/ember-modules-codemod
12 lines
233 B
JavaScript
12 lines
233 B
JavaScript
import Route from '@ember/routing/route';
|
|
|
|
export default Route.extend({
|
|
model() {
|
|
const job = this.modelFor('jobs.job');
|
|
return job.fetchRawDefinition().then(definition => ({
|
|
job,
|
|
definition,
|
|
}));
|
|
},
|
|
});
|