Skip to content

Commit

Permalink
spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpapa committed Jul 2, 2021
1 parent 2f55e75 commit 8155573
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/router.ts
Expand Up @@ -19,16 +19,16 @@ export const routes: Routes = [
loadChildren: () => import('./villains/villains.module').then((m) => m.VillainsModule),
/**
* Remove the guard and you can route to villains,
* but you still can't get to the data uness you are logged in
* but you still can't get to the data unless you are logged in
*/
canActivate: [AuthGuard],
data: { preload: true },
// data: { preload: true },
},
{
path: 'admin',
loadChildren: () => import('./admin/admin.module').then((m) => m.AdminModule),
canLoad: [AuthGuard],
data: { preload: true },
// data: { preload: true },
},
{
path: 'about',
Expand Down

0 comments on commit 8155573

Please sign in to comment.