berrypod/lib/berrypod_web/live/shop/contact.ex

16 lines
299 B
Elixir
Raw Normal View History

defmodule BerrypodWeb.Shop.Contact do
use BerrypodWeb, :live_view
@impl true
def mount(_params, _session, socket) do
{:ok, assign(socket, :page_title, "Contact")}
end
@impl true
def render(assigns) do
~H"""
<BerrypodWeb.PageTemplates.contact {assigns} />
"""
end
end