fix: Make Admin link say Admin, not Legendary.Admin

This commit is contained in:
Robert Prehn 2021-04-09 16:14:07 -05:00
parent 9c525925d2
commit 5da45dc8a8

View file

@ -15,7 +15,7 @@
<ul class="list-reset lg:flex justify-end flex-1 items-center">
<%= if has_role?(@conn, :admin) do %>
<li class="mr-3">
<a class="inline-block py-2 px-4 text-white no-underline" href="/admin">Legendary.Admin</a>
<a class="inline-block py-2 px-4 text-white no-underline" href="/admin">Admin</a>
</li>
<% end %>
<%= if Pow.Plug.current_user(@conn) do %>