blob: 78221a9ff1b53b47cf3f715de1eda655bb78bb04 (
plain) (
tree)
|
|
import { Routes } from '@angular/router';
import { RequestsComponent } from './requests.component';
import { RequestStatsComponent } from './request-stats';
export const RequestsRoutes: Routes = [
{
path: 'requests',
component: RequestsComponent,
children: [
{
path: '',
redirectTo: 'stats',
pathMatch: 'full'
},
{
path: 'stats',
component: RequestStatsComponent
}
]
}
];
|