From 8ddc93d21180c40ac49de1cc773a74d1ebb9f4f6 Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Fri, 8 Jul 2016 17:49:06 +0200 Subject: [PATCH] docs(style-guide): create a route redirection closes #1857 --- public/docs/_examples/style-guide/ts/app/app.routes.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/docs/_examples/style-guide/ts/app/app.routes.ts b/public/docs/_examples/style-guide/ts/app/app.routes.ts index d3799a9390..644e86bffd 100644 --- a/public/docs/_examples/style-guide/ts/app/app.routes.ts +++ b/public/docs/_examples/style-guide/ts/app/app.routes.ts @@ -28,6 +28,7 @@ import { AppComponent as S0704 } from '../07-04/app'; import { AppComponent as S0901 } from '../09-01/app'; const routes: RouterConfig = [ + { path: '', redirectTo: '/01-01', pathMatch: 'full' }, { path: '01-01', component: S0101 }, { path: '02-07', component: S0207 }, { path: '02-08', component: S0208 },