diff options
Diffstat (limited to 'docs/en/cowboy/2.0/guide/resource_design/index.html')
-rw-r--r-- | docs/en/cowboy/2.0/guide/resource_design/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/en/cowboy/2.0/guide/resource_design/index.html b/docs/en/cowboy/2.0/guide/resource_design/index.html index 32c8a129..c2331de4 100644 --- a/docs/en/cowboy/2.0/guide/resource_design/index.html +++ b/docs/en/cowboy/2.0/guide/resource_design/index.html @@ -248,8 +248,8 @@ callback.</p></div> <div class="sectionbody"> <div class="paragraph"><p>If you implement the methods PUT, POST and/or PATCH, you must implement the <code>content_types_accepted</code> callback, -and one <code>AcceptResource</code> callback for each content-type -it returns. Prefix the <code>AcceptResource</code> callback names +and one <code>AcceptCallback</code> callback for each content-type +it returns. Prefix the <code>AcceptCallback</code> callback names with <code>from_</code> for clarity. For example, <code>from_html</code> or <code>from_json</code>.</p></div> <div class="paragraph"><p>Do we want to allow the POST method to create individual |