9ce8919aaa
* WIP read view for pki keys * remove options for query * combine adapter query methods * fix controller class names * remove class * rename adapter method, cleanup template, move formFields to key constructor
49 lines
1.3 KiB
JavaScript
49 lines
1.3 KiB
JavaScript
import buildRoutes from 'ember-engines/routes';
|
|
|
|
export default buildRoutes(function () {
|
|
this.route('overview');
|
|
this.route('configuration', function () {
|
|
this.route('tidy');
|
|
this.route('create');
|
|
this.route('edit');
|
|
});
|
|
this.route('roles', function () {
|
|
this.route('index', { path: '/' });
|
|
this.route('create');
|
|
this.route('role', { path: '/:role' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
this.route('generate');
|
|
this.route('sign');
|
|
});
|
|
});
|
|
this.route('issuers', function () {
|
|
this.route('index', { path: '/' });
|
|
this.route('import');
|
|
this.route('generate-root');
|
|
this.route('generate-intermediate');
|
|
this.route('issuer', { path: '/:issuer_ref' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
this.route('sign');
|
|
this.route('cross-sign');
|
|
});
|
|
});
|
|
this.route('certificates', function () {
|
|
this.route('index', { path: '/' });
|
|
this.route('certificate', { path: '/:serial' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
});
|
|
});
|
|
this.route('keys', function () {
|
|
this.route('index', { path: '/' });
|
|
this.route('create');
|
|
this.route('import');
|
|
this.route('key', { path: '/:key_id' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
});
|
|
});
|
|
});
|