server/lib/boardwise_web/controllers/page_controller.ex

10 lines
232 B
Elixir

defmodule BoardWiseWeb.PageController do
use BoardWiseWeb, :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