Skip to content

Instantly share code, notes, and snippets.

@nathan-lapinski
Created November 27, 2018 09:45
Show Gist options
  • Save nathan-lapinski/55386a4f9ecda8357708fcc65512e479 to your computer and use it in GitHub Desktop.
Save nathan-lapinski/55386a4f9ecda8357708fcc65512e479 to your computer and use it in GitHub Desktop.
An example showing guard priority for canActivate
{ path: 'redir',
canActivate: [CanActivateRouteGuard, CanActivateRouteGuard2],
children: [{
path: 'dir',
component: NeverGetHereComponent,
canActivate: [ChildCanActivateRouteGuard]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment