Fix typo in docs

The argument to the `action` decorator is `methods`, not `method`.