1107798da6
Generated with a codemode: https://github.com/ember-cli/ember-modules-codemod
15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
import Controller from '@ember/controller';
|
|
import { computed } from '@ember/object';
|
|
|
|
export default Controller.extend({
|
|
breadcrumbs: computed('model.{name,id}', function() {
|
|
return [
|
|
{ label: 'Jobs', args: ['jobs'] },
|
|
{
|
|
label: this.get('model.name'),
|
|
args: ['jobs.job', this.get('model')],
|
|
},
|
|
];
|
|
}),
|
|
});
|