Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Commit

Permalink
Fix documentation for ctx.route.component
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyWebb committed Oct 24, 2017
1 parent de55bf6 commit c26c155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/middleware.md
Expand Up @@ -43,7 +43,7 @@ This...

```javascript
{
'/user/:id': [(ctx) => ctx.router.component = 'user']
'/user/:id': [(ctx) => ctx.route.component = 'user']
}
```

Expand Down

0 comments on commit c26c155

Please sign in to comment.