home73k/lib/home73k_web/controllers/home_controller.ex

20 lines
413 B
Elixir
Raw Permalink Normal View History

2021-03-29 19:50:47 -04:00
defmodule Home73kWeb.HomeController do
use Home73kWeb, :controller
def index(conn, _params) do
render(conn, "index.html")
end
2021-04-03 23:22:35 -04:00
def about(conn, _params) do
render(conn, "about.html", page_title: "About")
end
2021-03-29 19:50:47 -04:00
def resume(conn, _params) do
render(conn, "resume.html", page_title: "Résumé")
end
def folio(conn, _params) do
render(conn, "folio.html", page_title: "Folio")
end
end