argos/dmp-frontend/src/app/ui/explore-dmp/explore-dmp.routing.ts

36 lines
772 B
TypeScript
Raw Normal View History

2019-04-26 16:05:15 +02:00
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ExploreDmpListingComponent } from './explore-dmp-listing.component';
import { DmpOverviewComponent } from '../dmp/overview/dmp-overview.component';
2019-04-26 16:05:15 +02:00
const routes: Routes = [
{
path: '',
component: ExploreDmpListingComponent,
data: {
breadcrumb: true
}
},
{
path: 'versions/:groupId',
component: ExploreDmpListingComponent,
data: {
breadcrumb: true
},
},
{
path: 'overview/:publicId',
component: DmpOverviewComponent,
2019-04-26 16:05:15 +02:00
data: {
2019-09-16 17:46:19 +02:00
breadcrumb: true,
title: 'GENERAL.TITLES.EXPLORE-PLANS-OVERVIEW'
2019-04-26 16:05:15 +02:00
},
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class ExploreDmpRoutingModule { }