Skip to content

Commit 76104ef

Browse files
Merge pull request #2405 from cogoo/patch-1
fix: missing closing brace in docs
2 parents b73ed46 + f5bbe4b commit 76104ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/auth/router-guards.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const belongsToAccount = (next) => hasCustomClaim(`account-${next.params.id}`);
3939
export const routes: Routes = [
4040
{ path: '', component: AppComponent },
4141
{ path: 'login', component: LoginComponent, canActivate: [AngularFireAuthGuard], data: { authGuardPipe: redirectLoggedInToItems }},
42-
{ path: 'items', component: ItemListComponent, canActivate: [AngularFireAuthGuard], data: { authGuardPipe: redirectUnauthorizedToLogin },
42+
{ path: 'items', component: ItemListComponent, canActivate: [AngularFireAuthGuard], data: { authGuardPipe: redirectUnauthorizedToLogin }},
4343
{ path: 'admin', component: AdminComponent, canActivate: [AngularFireAuthGuard], data: { authGuardPipe: adminOnly }},
4444
{ path: 'accounts/:id', component: AdminComponent, canActivate: [AngularFireAuthGuard], data: { authGuardPipe: belongsToAccount }}
4545
];

0 commit comments

Comments
 (0)