Skip to content

Commit 3f608e2

Browse files
committed
update advanced routing doc
1 parent 3cf3d07 commit 3f608e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced/DynamicRouting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var CourseRoute = {
2828
})
2929
},
3030

31-
getComponents(callback) {
31+
getComponents(location, callback) {
3232
require.ensure([], function (require) {
3333
callback(null, require('./components/Course'))
3434
})
@@ -38,4 +38,4 @@ var CourseRoute = {
3838

3939
Now go look at what hacks you have in place to do this. Just kidding, I don't want to make you sad right now.
4040

41-
Run the [huge apps](https://github.com/rackt/react-router/tree/master/examples/huge-apps) example with your web inspector open and watch code get loaded in as you navigate around the demo.
41+
Run the [huge apps](https://github.com/rackt/react-router/tree/master/examples/huge-apps) example with your web inspector open and watch code get loaded in as you navigate around the demo.

0 commit comments

Comments
 (0)