diff --git a/docs/api/Router.md b/docs/api/Router.md index 06db610fa6..7b51f3641e 100644 --- a/docs/api/Router.md +++ b/docs/api/Router.md @@ -27,7 +27,7 @@ Router.transitionTo('about'); Router.transitionTo('/users/10?showAge=true'); ``` -### `replaceWith(routeName, [params[, query]])` +### `replaceWith(routeNameOrPath, [params[, query]])` Programatically replace current route with a new route. Does not add an entry into the browser history.