homeman-elixir/lib/homeman_web/controllers/page_controller.ex

10 lines
228 B
Elixir
Raw Normal View History

2024-01-21 23:26:07 -06:00
defmodule HomemanWeb.PageController do
use HomemanWeb, :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