From a17b3436c0d98ea18829c08c11736b92daf944ba Mon Sep 17 00:00:00 2001 From: Kanstantsin Klimashevich Date: Tue, 31 Jan 2017 19:07:39 +0300 Subject: [PATCH] docs(router): fix Router.forRoot -> RouterModule.forRoot --- 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 842c5de07c..5aeb3ebd8c 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_.