open-nomad/ui/app/routes/jobs/job/versions.js
2018-01-17 09:02:04 -08:00

9 lines
185 B
JavaScript

import Route from '@ember/routing/route';
export default Route.extend({
model() {
const job = this.modelFor('jobs.job');
return job.get('versions').then(() => job);
},
});