Skip to content

Commit cecdf12

Browse files
committedAug 7, 2014
added location option to the README
closes #177
1 parent d63e85b commit cecdf12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,14 @@ What's it look like?
6969

7070
```js
7171
React.renderComponent((
72-
<Routes>
72+
<Routes location="history">
7373
<Route handler={App}>
7474
<Route name="about" handler={About}/>
7575
<Route name="users" handler={Users}>
7676
<Route name="user" path="/user/:userId" handler={User}/>
7777
</Route>
7878
</Route>
79+
<Route path="*" handler={NotFound}/>
7980
</Routes>
8081
), document.body);
8182
```

0 commit comments

Comments
 (0)
Please sign in to comment.