bones73k/lib/real_estate_web/live/admin_dashboard_live.ex

19 lines
363 B
Elixir
Raw Normal View History

2020-09-14 11:21:48 -04:00
defmodule RealEstateWeb.AdminDashboardLive do
use RealEstateWeb, :live_view
@impl true
def mount(_params, session, socket) do
socket = assign_defaults(session, socket)
{:ok, socket}
end
@impl true
def render(assigns) do
~L"""
<section class="phx-hero">
<h1>Welcome to the admin dashboard!</h1>
</section>
"""
end
end