freedive/lib/freedive_web/controllers/page_controller.ex

10 lines
230 B
Elixir
Raw Normal View History

2024-05-09 21:28:48 +02:00
defmodule FreediveWeb.PageController do
use FreediveWeb, :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