mirror of https://github.com/rancher/ui.git
43 lines
1.1 KiB
JavaScript
43 lines
1.1 KiB
JavaScript
import buildRoutes from 'ember-engines/routes';
|
|
|
|
export default buildRoutes(function() {
|
|
this.route('cluster-setting');
|
|
|
|
this.route('gateway', function() {
|
|
this.route('new', { path: '/add' });
|
|
this.route('detail', { path: '/:id' }, function() {
|
|
this.route('edit');
|
|
});
|
|
});
|
|
|
|
this.route('virtual-service', function() {
|
|
this.route('new', { path: '/add' });
|
|
this.route('detail', { path: '/:id' }, function() {
|
|
this.route('edit');
|
|
});
|
|
});
|
|
|
|
this.route('destination-rule', function() {
|
|
this.route('new', { path: '/add' });
|
|
this.route('detail', { path: '/:id' }, function() {
|
|
this.route('edit');
|
|
});
|
|
});
|
|
|
|
this.route('project-istio', function() {
|
|
this.route('graph');
|
|
this.route('metrics');
|
|
this.route('rules');
|
|
this.route('rule-detail', { path: '/rule-detail/:rule_id' });
|
|
this.route('destination-rules', function() {
|
|
this.route('index', { path: '/' });
|
|
});
|
|
this.route('virtual-services', function() {
|
|
this.route('index', { path: '/' });
|
|
});
|
|
this.route('gateways', function() {
|
|
this.route('index', { path: '/' });
|
|
});
|
|
});
|
|
});
|