mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-09 09:47:56 +00:00
10 lines
326 B
TypeScript
10 lines
326 B
TypeScript
import RouterDSL from '@ember/routing/-private/router-dsl';
|
|
|
|
export const sharedRoutes = (router: RouterDSL): void => {
|
|
router.route('entity-type', { path: '/:entity_type' }, function(): void {
|
|
this.route('urn', { path: '/:urn' }, function(): void {
|
|
this.route('tab', { path: '/:tab_selected' });
|
|
});
|
|
});
|
|
};
|