From bccf8da35f1e50f4819ce050550adf088ba88848 Mon Sep 17 00:00:00 2001 From: Joseph Harrison-Lim Date: Mon, 31 Dec 2018 23:09:14 -0500 Subject: [PATCH] docs(router): fix misnamed path (#27879) This change matches the routes found in the following code example for auth.guard.ts as well as the login.component.1.ts in the "Add the LoginComponent" section. PR Close #27879 --- aio/content/guide/router.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index 3b47397e1f..199d403011 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -3392,10 +3392,10 @@ The admin feature is now protected by the guard, albeit protected poorly. Make the `AuthGuard` at least pretend to authenticate. -The `AuthGuard` should call an application service that can login a user and retain information about the current user. Generate a new `AuthService` in the `admin` folder: +The `AuthGuard` should call an application service that can login a user and retain information about the current user. Generate a new `AuthService` in the `auth` folder: - ng generate service admin/auth + ng generate service auth/auth Update the `AuthService` to log in the user: