diff options
| author | Rodolfo Carvalho | 2014-06-02 11:06:03 +0200 | 
|---|---|---|
| committer | Rodolfo Carvalho | 2014-06-02 11:06:03 +0200 | 
| commit | 31f63e1e5502d45f414df400679c238346137b10 (patch) | |
| tree | 2eae5d500ca670407076e99ea722664276ec178f /docs/api-guide/viewsets.md | |
| parent | 12394c9cacef0c92ef5b9d31836612e52a26e57a (diff) | |
| download | django-rest-framework-31f63e1e5502d45f414df400679c238346137b10.tar.bz2 | |
Fix typo in docs
Diffstat (limited to 'docs/api-guide/viewsets.md')
| -rw-r--r-- | docs/api-guide/viewsets.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/api-guide/viewsets.md b/docs/api-guide/viewsets.md index 23b16575..b3085f75 100644 --- a/docs/api-guide/viewsets.md +++ b/docs/api-guide/viewsets.md @@ -137,7 +137,7 @@ The `@action` and `@link` decorators can additionally take extra arguments that          def set_password(self, request, pk=None):             ... -The `@action` decorator will route `POST` requests by default, but may also accept other HTTP methods, by using the `method` argument.  For example: +The `@action` decorator will route `POST` requests by default, but may also accept other HTTP methods, by using the `methods` argument.  For example:          @action(methods=['POST', 'DELETE'])          def unset_password(self, request, pk=None): | 
