consul/ui-v2/app/routes/dc/services/notfound.js

8 lines
204 B
JavaScript

import Route from '@ember/routing/route';
export default Route.extend({
redirect: function(model, transition) {
this.replaceWith('dc.services.instance', model.name, model.node, model.id);
},
});