Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCai1111 committed Sep 11, 2015
1 parent 65dccff commit dfdb852
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ exports.filters = ['auth'];
You can add as many filters as you want!

## Params
You can also define the URL with params:
You can also define a URL with params:

```
```js
//./controllers/user.js :
exports.get = function *(next) {
console.log(this.params.id);
Expand All @@ -116,7 +116,7 @@ exports.get.params = ':id';
GET /user/0
```

All params which [path-to-regexp](https://www.npmjs.com/package/path-to-regexp) support can be used.
All `param syntax` which [path-to-regexp](https://www.npmjs.com/package/path-to-regexp) support can be used.

## Use customized path

Expand Down

0 comments on commit dfdb852

Please sign in to comment.