From eb372a9b392c2ecf116b3be54fb31b5d429da020 Mon Sep 17 00:00:00 2001 From: Kanstantsin Klimashevich Date: Mon, 6 Feb 2017 01:25:05 +0300 Subject: [PATCH] docs(router): fix Router.forRoot -> RouterModule.forRoot (#3172) --- public/docs/ts/latest/guide/router.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/router.jade b/public/docs/ts/latest/guide/router.jade index 4186c55ad0..462b5ad421 100644 --- a/public/docs/ts/latest/guide/router.jade +++ b/public/docs/ts/latest/guide/router.jade @@ -113,7 +113,7 @@ include ../../../_includes/_see-addr-bar a#example-config :marked The `appRoutes` array of *routes* describes how to navigate. - Pass it to the `Router.forRoot` method in the module `imports` to configure the router. + Pass it to the `RouterModule.forRoot` method in the module `imports` to configure the router. Each `Route` maps a URL `path` to a component. There are _no leading slashes_ in the _path_.