fix minor issues with router.jade.

This commit is contained in:
rexebin 2016-11-03 21:11:24 +00:00
parent ac2275dbe6
commit 85b0863bdd
1 changed files with 5 additions and 4 deletions

View File

@ -1409,6 +1409,9 @@ figure.image-display
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,13 +2553,11 @@ 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:
当应用启动时浏览器地址栏的初始URL是这样的