fix patch links to working properly
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-09 23:47:11 -05:00
parent 53bb0ddb03
commit 3dd6430105
15 changed files with 34 additions and 31 deletions

View File

@ -154,7 +154,10 @@ defmodule CanneryWeb.RangeLive.Index do
:name ->
{shot_group.ammo_group.ammo_type.name,
~H"""
<.link patch={Routes.ammo_group_show_path(Endpoint, :show, @shot_group.ammo_group)} class="link">
<.link
navigate={Routes.ammo_group_show_path(Endpoint, :show, @shot_group.ammo_group)}
class="link"
>
<%= @shot_group.ammo_group.ammo_type.name %>
</.link>
"""}