diff options
author | Loïc Hoguin <[email protected]> | 2012-08-27 13:39:59 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-08-27 13:39:59 +0200 |
commit | 6d84afd16d214c7e07d9f55e633dbcb0032473bc (patch) | |
tree | fcffa83add64d52f45746a9cf1e0f05c138b27ce /examples/rest_hello_world/src/toppage_handler.erl | |
parent | d3dcaf109b225b1384fad5b17dbae9c4888c40ea (diff) | |
download | cowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.tar.gz cowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.tar.bz2 cowboy-6d84afd16d214c7e07d9f55e633dbcb0032473bc.zip |
Rename cowboy_http_rest to cowboy_rest
Diffstat (limited to 'examples/rest_hello_world/src/toppage_handler.erl')
-rw-r--r-- | examples/rest_hello_world/src/toppage_handler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rest_hello_world/src/toppage_handler.erl b/examples/rest_hello_world/src/toppage_handler.erl index 8ee1904..c41cf91 100644 --- a/examples/rest_hello_world/src/toppage_handler.erl +++ b/examples/rest_hello_world/src/toppage_handler.erl @@ -10,7 +10,7 @@ -export([hello_to_text/2]). init(_Transport, _Req, []) -> - {upgrade, protocol, cowboy_http_rest}. + {upgrade, protocol, cowboy_rest}. content_types_provided(Req, State) -> {[ |