Project

General

Profile

« Previous | Next » 

Revision 51793

added redirection to landing when route was not found

View differences:

compatibility.routing.ts
12 12

  
13 13
const compatibilityRoutes: Routes = [
14 14
  {
15
    path: 'compatibility',
15
    path: '',
16 16
    component: CompatibilityComponent,
17
    canActivate: [AuthGuardService],
18 17
    children: [
19 18
      {
20
        path: '',
21
        redirectTo: '/validate',
22
        pathMatch: 'full'
23
      },
24
      {
25 19
        path: 'validate',
26 20
        component: CompatibilityValidateComponent
27 21
      },

Also available in: Unified diff