exmr/lib/exmr_web/controllers/page_controller.ex

10 lines
222 B
Elixir
Raw Permalink Normal View History

2024-11-14 23:33:29 +02:00
defmodule ExmrWeb.PageController do
use ExmrWeb, :controller
def home(conn, _params) do
# The home page is often custom made,
# so skip the default app layout.
render(conn, :home, layout: false)
end
end