11 lines
196 B
JavaScript
11 lines
196 B
JavaScript
|
import Ember from 'ember';
|
||
|
|
||
|
const { Route } = Ember;
|
||
|
|
||
|
export default Route.extend({
|
||
|
model() {
|
||
|
const job = this.modelFor('jobs.job');
|
||
|
return job.get('versions').then(() => job);
|
||
|
},
|
||
|
});
|