aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_pastebin/src/rest_pastebin_app.erl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rest_pastebin/src/rest_pastebin_app.erl')
-rw-r--r--examples/rest_pastebin/src/rest_pastebin_app.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rest_pastebin/src/rest_pastebin_app.erl b/examples/rest_pastebin/src/rest_pastebin_app.erl
index 31ceff3..0fbfd64 100644
--- a/examples/rest_pastebin/src/rest_pastebin_app.erl
+++ b/examples/rest_pastebin/src/rest_pastebin_app.erl
@@ -13,7 +13,7 @@
start(_Type, _Args) ->
Dispatch = cowboy_router:compile([
{'_', [
- {"/[:paste_id]", toppage_handler, []}
+ {"/[:paste_id]", toppage_h, []}
]}
]),
{ok, _} = cowboy:start_clear(http, [{port, 8080}], #{