From 85b0863bdd4d3d22eb5ff28230ee657bd1cd5ceb Mon Sep 17 00:00:00 2001 From: rexebin Date: Thu, 3 Nov 2016 21:11:24 +0000 Subject: [PATCH] fix minor issues with router.jade. --- public/docs/ts/latest/guide/router.jade | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/docs/ts/latest/guide/router.jade b/public/docs/ts/latest/guide/router.jade index 701ad5c10f..f9428b7c2e 100644 --- a/public/docs/ts/latest/guide/router.jade +++ b/public/docs/ts/latest/guide/router.jade @@ -1408,6 +1408,9 @@ figure.image-display :marked Keep the Routing Module file in the same folder as its companion module file. Here both `heroes-routing.module.ts` and `heroes.module.ts` are in the same `app/heroes` folder. + + 将路由模块文件放到它相关的模块文件所在目录里。 + 这里,`heroes-routing.module.ts`和`heroes.module.ts`都在`app/heroes`目录中。 :marked We use the same techniques we learned in creating the `app-routing.module.ts`. @@ -2550,12 +2553,10 @@ h3#import-crisis-module 把危机中心模块导入`AppModule`的路由中 a#redirect -h3#redirect Redirecting routes - -h3#redirect 重定向路由 - :marked ### Redirecting routes + + ### 重定向路由 When the application launches, the initial URL in the browser bar is something like: