2018-02-02 11:57:24 +01:00
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
2018-10-05 17:00:54 +02:00
|
|
|
import { FormComponent } from './form/form.component';
|
2018-10-16 13:11:15 +02:00
|
|
|
import { AuthGuard } from '../shared/guards/auth.guard';
|
|
|
|
import { DatasetProfileAdminListingComponent } from './datasets-admin-listing/dataset-profile-admin-listing.component';
|
2018-02-02 11:57:24 +01:00
|
|
|
|
|
|
|
export const DatasetProfileRoutes: Routes = [
|
2018-10-05 17:00:54 +02:00
|
|
|
{
|
|
|
|
path: ':id',
|
|
|
|
component: FormComponent
|
|
|
|
},
|
|
|
|
{
|
2018-10-16 13:11:15 +02:00
|
|
|
path: 'clone/:cloneid',
|
2018-10-05 17:00:54 +02:00
|
|
|
component: FormComponent
|
2018-10-16 13:11:15 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
component: DatasetProfileAdminListingComponent,
|
|
|
|
},
|
2018-02-02 11:57:24 +01:00
|
|
|
|
|
|
|
];
|