open-consul/ui/packages/consul-ui/app/routes/dc/services/notfound.js

8 lines
215 B
JavaScript

import Route from 'consul-ui/routing/route';
export default class NotfoundRoute extends Route {
redirect(model, transition) {
this.replaceWith('dc.services.instance', model.name, model.node, model.id);
}
}