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

28 lines
609 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: 'overview/:publicId',
component: DmpOverviewComponent,
2019-04-26 16:05:15 +02:00
data: {
breadcrumb: true
},
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class ExploreDmpRoutingModule { }