12 lines
230 B
Elixir
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
|