freedive/lib/freedive_web/controllers/page_controller.ex

9 lines
230 B
Elixir

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