Created
December 10, 2016 17:15
-
-
Save matthieu-D/fca5b151162bc4b31187be84a55ab178 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {ActivateGuard, DeactivateGuard} from './guard'; | |
export const ROUTES: Routes = [ | |
. | |
. | |
. | |
{ path: 'home', component: HomeComponent, canActivate:[ActivateGuard], canDeactivate:[DeactivateGuard]}, | |
. | |
. | |
.] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment