diff options
author | Loïc Hoguin <[email protected]> | 2012-11-27 16:24:08 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-11-27 16:24:08 +0100 |
commit | f63d3f08cf942433ba068ed2a78c69530a642452 (patch) | |
tree | e6bfeb112270b334eba4cbda90afd3fc4088ea10 | |
parent | 5bc5f56eb2c6c49bd638484f8f36c0515746fecb (diff) | |
download | cowboy-f63d3f08cf942433ba068ed2a78c69530a642452.tar.gz cowboy-f63d3f08cf942433ba068ed2a78c69530a642452.tar.bz2 cowboy-f63d3f08cf942433ba068ed2a78c69530a642452.zip |
Cosmetic changes to various documentation files
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | guide/toc.md | 3 | ||||
-rw-r--r-- | src/cowboy_rest.erl | 5 |
3 files changed, 8 insertions, 6 deletions
@@ -21,9 +21,9 @@ No parameterized module. No process dictionary. **Clean** Erlang code. Quick start ----------- - * Add Cowboy as a rebar dependency to your application. - * Start Cowboy and add one or more listeners. - * Write handlers for your application. + * Add Cowboy as a rebar dependency to your application + * Start Cowboy and add one or more listeners + * Write handlers for your application Getting Started --------------- diff --git a/guide/toc.md b/guide/toc.md index ea543d1..b57b92e 100644 --- a/guide/toc.md +++ b/guide/toc.md @@ -8,9 +8,10 @@ Cowboy User Guide * Getting started * Routing * Purpose - * Dispatch rule + * Dispatch list * Match rules * Bindings + * Constraints * Handlers * Purpose * Protocol upgrades diff --git a/src/cowboy_rest.erl b/src/cowboy_rest.erl index 1c0554a..bc14d35 100644 --- a/src/cowboy_rest.erl +++ b/src/cowboy_rest.erl @@ -195,8 +195,9 @@ options(Req, State) -> %% %% Note that it is also possible to return a binary content type that will %% then be parsed by Cowboy. However note that while this may make your -%% resources a little more readable, this is a lot less efficient. An example -%% of such a return value would be: +%% resources a little more readable, this is a lot less efficient. +%% +%% An example of such return value would be: %% {<<"text/html">>, to_html} content_types_provided(Req, State) -> case call(Req, State, content_types_provided) of |