Skip to content

Commit

Permalink
Merge pull request encode#2457 from jfw/patch-3
Browse files Browse the repository at this point in the history
minor typo in viewsets docs
  • Loading branch information
kevin-brown committed Jan 24, 2015
2 parents 0cb5ace + 39da9c7 commit 9687f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-guide/viewsets.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ The decorators can additionally take extra arguments that will be set for the ro
def set_password(self, request, pk=None):
...

Theses decorators will route `GET` requests by default, but may also accept other HTTP methods, by using the `methods` argument. For example:
These decorators will route `GET` requests by default, but may also accept other HTTP methods, by using the `methods` argument. For example:

@detail_route(methods=['post', 'delete'])
def unset_password(self, request, pk=None):
Expand Down

0 comments on commit 9687f4f

Please sign in to comment.