Current section
Files
Jump to
Current section
Files
lib/hangman_live_web/controllers/page_controller.ex
defmodule Hangman.LiveWeb.PageController do
use Hangman.LiveWeb, :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