vault/ui/lib/replication/addon/routes.js
Hamid Ghaf e55c18ed12
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

23 lines
691 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import buildRoutes from 'ember-engines/routes';
export default buildRoutes(function () {
this.route('index', { path: '/' });
this.route('mode', { path: '/:replication_mode' }, function () {
//details
this.route('index', { path: '/' });
this.route('manage');
this.route('secondaries', function () {
this.route('add');
this.route('revoke');
this.route('config-show', { path: '/config/show/:secondary_id' });
this.route('config-edit', { path: '/config/edit/:secondary_id' });
this.route('config-create', { path: '/config/create/:secondary_id' });
});
});
});