2017-12-15 21:39:18 +00:00
|
|
|
import { alias } from '@ember/object/computed';
|
|
|
|
import Controller, { inject as controller } from '@ember/controller';
|
2017-10-23 23:59:30 +00:00
|
|
|
import WithNamespaceResetting from 'nomad-ui/mixins/with-namespace-resetting';
|
2017-09-19 14:47:10 +00:00
|
|
|
|
2017-10-23 23:59:30 +00:00
|
|
|
export default Controller.extend(WithNamespaceResetting, {
|
2017-12-15 21:39:18 +00:00
|
|
|
jobController: controller('jobs.job'),
|
2017-09-19 14:47:10 +00:00
|
|
|
|
2017-12-15 21:39:18 +00:00
|
|
|
job: alias('model'),
|
|
|
|
deployments: alias('model.deployments'),
|
2017-09-19 14:47:10 +00:00
|
|
|
|
2017-12-15 21:39:18 +00:00
|
|
|
breadcrumbs: alias('jobController.breadcrumbs'),
|
2017-09-19 14:47:10 +00:00
|
|
|
});
|