From b58581cf74cc207927f01707ef30a9b7525e1e84 Mon Sep 17 00:00:00 2001 From: Pavel Lang Date: Mon, 28 Jul 2014 20:18:23 +0200 Subject: [PATCH] `routeName` or `routeNameOrPath` ? Router should be injectable to be usably on client or server differently. This var name difference in docs can be interpreted as more separate methods in behavior. --- docs/api/Router.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.