fix docs about shouldReplaceHistory

This commit is contained in:
Leo Horie 2015-02-09 23:11:20 -05:00
parent d446272cf3
commit 2fa4632186
2 changed files with 6 additions and 2 deletions

View file

@ -276,7 +276,7 @@ redirects to `http://server/#/dashboard/marysue`
[How to read signatures](how-to-read-signatures.md)
```clike
void route(String path [, any params])
void route(String path [, any params] [, Boolean shouldReplaceHistory])
```
- **String path**
@ -287,6 +287,10 @@ void route(String path [, any params])
Parameters to pass as a querystring
- **Boolean shouldReplaceHistory**
If set to true, replaces the current history entry, instead of adding a new one. Defaults to false.
---
<a name="reading-current-route"></a>