slovocast/app/lib/app_web/controllers/hello_controller.ex

12 lines
230 B
Elixir

defmodule AppWeb.HelloController do
use AppWeb, :controller
def index(conn, _params) do
render(conn, :index)
end
def show(conn, %{"messenger" => messenger}) do
render(conn, :show, messenger: messenger)
end
end