Skip to content

Commit

Permalink
Document custom routes supporting Redirect
Browse files Browse the repository at this point in the history
Refs #2771
  • Loading branch information
fzaninotto committed Jan 28, 2019
1 parent 9a08b4e commit fba17af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ const Foo = () => (
export default Foo;
```

**Tip**: Custom routes can be [a `<Redirect>` route](https://reacttraining.com/react-router/web/api/Redirect), too.

## `authProvider`

The `authProvider` prop expect a function returning a Promise, to control the application authentication strategy:
Expand Down

0 comments on commit fba17af

Please sign in to comment.