aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elixir_hello_world/lib/elixir_hello_world/top_page_handler.ex
diff options
context:
space:
mode:
Diffstat (limited to 'examples/elixir_hello_world/lib/elixir_hello_world/top_page_handler.ex')
-rw-r--r--examples/elixir_hello_world/lib/elixir_hello_world/top_page_handler.ex12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/elixir_hello_world/lib/elixir_hello_world/top_page_handler.ex b/examples/elixir_hello_world/lib/elixir_hello_world/top_page_handler.ex
deleted file mode 100644
index 58e37b4..0000000
--- a/examples/elixir_hello_world/lib/elixir_hello_world/top_page_handler.ex
+++ /dev/null
@@ -1,12 +0,0 @@
-defmodule ElixirHelloWorld.TopPageHandler do
- def init(_transport, req, []) do
- {:ok, req, nil}
- end
-
- def handle(req, state) do
- {:ok, req} = :cowboy_req.reply(200, [], "Hello world!", req)
- {:ok, req, state}
- end
-
- def terminate(_reason, _req, _state), do: :ok
-end