phoenix_passkeys/lib/phoenix_passkeys_web/controllers/page_controller.ex

10 lines
244 B
Elixir
Raw Permalink Normal View History

2023-10-12 03:03:10 +00:00
defmodule PhoenixPasskeysWeb.PageController do
use PhoenixPasskeysWeb, :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