Skip to content

Commit

Permalink
added location option to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Aug 7, 2014
1 parent d63e85b commit cecdf12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ What's it look like?

```js
React.renderComponent((
<Routes>
<Routes location="history">
<Route handler={App}>
<Route name="about" handler={About}/>
<Route name="users" handler={Users}>
<Route name="user" path="/user/:userId" handler={User}/>
</Route>
</Route>
<Route path="*" handler={NotFound}/>
</Routes>
), document.body);
```
Expand Down

0 comments on commit cecdf12

Please sign in to comment.