Skip to content

Commit 3a7c35b

Browse files
committed
Use relative redirect in example
1 parent faa8fd5 commit 3a7c35b

File tree

1 file changed

+1
-1
lines changed
  • examples/dynamic-segments

1 file changed

+1
-1
lines changed

examples/dynamic-segments/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ React.render((
5555
<Route path="/" component={App}>
5656
<Route path="user/:userID" component={User}>
5757
<Route path="tasks/:taskID" component={Task} />
58-
<Redirect from="todos/:taskID" to="/user/:userID/tasks/:taskID" />
58+
<Redirect from="todos/:taskID" to="tasks/:taskID" />
5959
</Route>
6060
</Route>
6161
</Router>

0 commit comments

Comments
 (0)