mitgliederverwaltung/lib/mv_web/controllers/page_controller.ex
Simon c933144920
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/promote/production Build is failing
feat: unify page titles
2026-03-13 19:01:50 +01:00

17 lines
365 B
Elixir

defmodule MvWeb.PageController do
@moduledoc """
Controller for rendering the homepage.
This controller handles the root route and renders the application's
homepage view.
"""
use MvWeb, :controller
use Gettext, backend: MvWeb.Gettext
def home(conn, _params) do
conn
|> assign(:page_title, gettext("Home"))
|> render(:home)
end
end