programming-phoenix-liveview/pento/lib/pento_web/controllers/page_controller.ex

10 lines
224 B
Elixir
Raw Permalink Normal View History

2024-08-15 19:14:55 +02:00
defmodule PentoWeb.PageController do
use PentoWeb, :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