github.com/emate/nomad@v0.8.2-wo-binpacking/ui/app/controllers/allocations/allocation/task.js (about) 1 import Controller, { inject as controller } from '@ember/controller'; 2 import { computed } from '@ember/object'; 3 4 export default Controller.extend({ 5 allocationController: controller('allocations.allocation'), 6 7 breadcrumbs: computed('allocationController.breadcrumbs.[]', 'model.name', function() { 8 return this.get('allocationController.breadcrumbs').concat([ 9 { 10 label: this.get('model.name'), 11 args: ['allocations.allocation.task', this.get('model.allocation'), this.get('model')], 12 }, 13 ]); 14 }), 15 });