mirror of https://github.com/hashicorp/consul
13 lines
293 B
JavaScript
13 lines
293 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
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);
|
|
}
|
|
}
|