diff options
Diffstat (limited to 'doc/src/guide/resource_design.asciidoc')
-rw-r--r-- | doc/src/guide/resource_design.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/guide/resource_design.asciidoc b/doc/src/guide/resource_design.asciidoc index 2325b9f..fa0c612 100644 --- a/doc/src/guide/resource_design.asciidoc +++ b/doc/src/guide/resource_design.asciidoc @@ -193,8 +193,8 @@ callback. If you implement the methods PUT, POST and/or PATCH, you must implement the `content_types_accepted` callback, -and one `AcceptResource` callback for each content-type -it returns. Prefix the `AcceptResource` callback names +and one `AcceptCallback` callback for each content-type +it returns. Prefix the `AcceptCallback` callback names with `from_` for clarity. For example, `from_html` or `from_json`. |