Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit a17b343

Browse files
mrkosimaKanstantsin Klimashevich
authored and
Kanstantsin Klimashevich
committed
docs(router): fix Router.forRoot -> RouterModule.forRoot
1 parent 5c19f17 commit a17b343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/ts/latest/guide/router.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ include ../../../_includes/_see-addr-bar
113113
a#example-config
114114
:marked
115115
The `appRoutes` array of *routes* describes how to navigate.
116-
Pass it to the `Router.forRoot` method in the module `imports` to configure the router.
116+
Pass it to the `RouterModule.forRoot` method in the module `imports` to configure the router.
117117

118118
Each `Route` maps a URL `path` to a component.
119119
There are _no leading slashes_ in the _path_.

0 commit comments

Comments
 (0)