freedive/lib/freedive_web/controllers/page_controller.ex

10 lines
215 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.
2024-05-09 23:08:49 +02:00
render(conn, :home)
2024-05-09 21:28:48 +02:00
end
end