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

12 lines
382 B
JavaScript

import { alias } from '@ember/object/computed';
import Controller, { inject as controller } from '@ember/controller';
import WithNamespaceResetting from 'nomad-ui/mixins/with-namespace-resetting';
export default Controller.extend(WithNamespaceResetting, {
jobController: controller('jobs.job'),
job: alias('model.job'),
breadcrumbs: alias('jobController.breadcrumbs'),
});