aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_req.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-09-06 12:25:02 +0200
committerLoïc Hoguin <[email protected]>2019-09-06 12:25:02 +0200
commit42eb6bae695a7e2126d0237d9e392682547ef6dc (patch)
tree28214ba6f1e89c119bc2ee9948e59d1e2f2042a6 /doc/src/manual/cowboy_req.asciidoc
parentd14c59d905d44d0cb4a284a2b456573fc71e5a92 (diff)
downloadcowboy-42eb6bae695a7e2126d0237d9e392682547ef6dc.tar.gz
cowboy-42eb6bae695a7e2126d0237d9e392682547ef6dc.tar.bz2
cowboy-42eb6bae695a7e2126d0237d9e392682547ef6dc.zip
Fix using custom fields in Req
Diffstat (limited to 'doc/src/manual/cowboy_req.asciidoc')
-rw-r--r--doc/src/manual/cowboy_req.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/manual/cowboy_req.asciidoc b/doc/src/manual/cowboy_req.asciidoc
index 2758e8f..ca99f9f 100644
--- a/doc/src/manual/cowboy_req.asciidoc
+++ b/doc/src/manual/cowboy_req.asciidoc
@@ -156,7 +156,7 @@ them by prepending an underscore and the name of your application:
.Setting a custom field
[source,erlang]
----
-Req#{_myapp_auth_method => pubkey}.
+Req#{'_myapp_auth_method' => pubkey}.
----
=== resp_body()