1
|
import { RouterModule, Routes } from '@angular/router';
|
2
|
import { NgModule } from '@angular/core';
|
3
|
import { ContinentOSPublicationsComponent } from './continent-os-publications.component';
|
4
|
import { ContinentOSPublicationsIndicatorsComponent } from './continent-os-publications-indicators.component';
|
5
|
|
6
|
const continentOpenSciencePublicationsRoutes: Routes = [
|
7
|
{
|
8
|
path: '',
|
9
|
component: ContinentOSPublicationsComponent,
|
10
|
children : [
|
11
|
{
|
12
|
path: '',
|
13
|
redirectTo: 'gold-green',
|
14
|
pathMatch: 'full',
|
15
|
},
|
16
|
{
|
17
|
path: ':indicator',
|
18
|
component: ContinentOSPublicationsIndicatorsComponent,
|
19
|
}
|
20
|
]
|
21
|
},
|
22
|
];
|
23
|
|
24
|
@NgModule ({
|
25
|
imports: [RouterModule.forChild(continentOpenSciencePublicationsRoutes)],
|
26
|
exports: [RouterModule]
|
27
|
})
|
28
|
|
29
|
export class ContinentOpenSciencePublicationsRoutingModule {}
|