From aab63d605c595d8d0cd33646d13942d6cb372b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 22 Oct 2013 09:15:57 +0200 Subject: Remove the elixir_hello_world example Elixir examples will be in a separate repository maintained by Elixir capable developers. --- .../lib/elixir_hello_world/top_page_handler.ex | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 examples/elixir_hello_world/lib/elixir_hello_world/top_page_handler.ex (limited to 'examples/elixir_hello_world/lib/elixir_hello_world/top_page_handler.ex') 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 -- cgit v1.2.3