2018-03-28 15:24:47 +02:00
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
import { DataManagementPlanProfileListingComponent } from './dmp-profile-listing/dmp-profile-listing.component';
|
|
|
|
import { DataManagementPlanProfileEditorComponent } from './dmp-profile-editor/dmp-profile-editor.component';
|
2018-05-28 11:50:42 +02:00
|
|
|
import { AuthGuard } from '../shared/guards/auth.guard';
|
2018-03-28 15:24:47 +02:00
|
|
|
|
|
|
|
export const DataManagementPlanProfileRoutes: Routes = [
|
2018-10-05 17:00:54 +02:00
|
|
|
{ path: '', component: DataManagementPlanProfileListingComponent, canActivate: [AuthGuard] },
|
|
|
|
{ path: 'new', component: DataManagementPlanProfileEditorComponent, canActivate: [AuthGuard] },
|
|
|
|
{ path: ':id', component: DataManagementPlanProfileEditorComponent, canActivate: [AuthGuard] },
|
2018-03-28 15:24:47 +02:00
|
|
|
];
|