chronoscope/lib/chronoscope_web/controllers/page_controller.ex

10 lines
236 B
Elixir
Raw Normal View History

2024-03-09 14:27:14 -05:00
defmodule ChronoscopeWeb.PageController do
use ChronoscopeWeb, :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