10 lines
222 B
Elixir
10 lines
222 B
Elixir
|
defmodule SiteWeb.PageController do
|
||
|
use SiteWeb, :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
|