1
|
import { RouterModule, Routes } from '@angular/router';
|
2
|
import { NgModule } from '@angular/core';
|
3
|
import { CompatibilityMonitorRepoComponent } from "./compatibility-monitor-repo.component";
|
4
|
import { AuthGuardService } from "../../../services/auth-guard.service";
|
5
|
import { CompatibilityMonitorFullHistoryRepoComponent } from "./compatibility-monitor-fullHistory-repo.component";
|
6
|
|
7
|
const aggregationHistoryRoutes: Routes = [
|
8
|
{
|
9
|
path: '',
|
10
|
component: CompatibilityMonitorRepoComponent,
|
11
|
canActivate: [AuthGuardService],
|
12
|
},
|
13
|
{
|
14
|
path: 'fullHistory',
|
15
|
component: CompatibilityMonitorFullHistoryRepoComponent,
|
16
|
canActivate: [AuthGuardService]
|
17
|
}
|
18
|
];
|
19
|
|
20
|
|
21
|
@NgModule ({
|
22
|
imports: [RouterModule.forChild(aggregationHistoryRoutes)],
|
23
|
exports: [RouterModule]
|
24
|
})
|
25
|
|
26
|
export class AggregationHistoryRoutingModule {}
|
27
|
|