mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-21 23:58:06 +00:00
23 lines
547 B
TypeScript
23 lines
547 B
TypeScript
![]() |
import RouterDSL from '@ember/routing/-private/router-dsl';
|
||
|
|
||
|
export const entitiesRoutes = (router: RouterDSL): void => {
|
||
|
router.route('user', function(): void {
|
||
|
this.route('profile', { path: '/:user_id' }, function(): void {
|
||
|
this.route('tab', { path: '/:tab_selected' });
|
||
|
});
|
||
|
});
|
||
|
router.route('datasets', function(): void {
|
||
|
this.route(
|
||
|
'dataset',
|
||
|
{
|
||
|
path: '/:dataset_urn'
|
||
|
},
|
||
|
function(): void {
|
||
|
this.route('tab', {
|
||
|
path: '/:tab_selected'
|
||
|
});
|
||
|
}
|
||
|
);
|
||
|
});
|
||
|
};
|