improve links with routes

This commit is contained in:
2021-10-11 13:01:33 +02:00
parent 308e31471a
commit baf7775b98
2 changed files with 4 additions and 4 deletions
@@ -9,10 +9,10 @@
<h2>Navigation</h2>
<ul>
<li>
<a href="http://localhost:4000/tracker">Clothes tracker</a>
<%= link "Clothes tracker", to: Routes.live_path(@conn, PokemonCoutureWeb.ClothesTrackerLive) %>
</li>
<li>
<a href="http://localhost:4000/clothes">List of clothes</a>
<%= link "List of Clothes", to: Routes.clothes_path(@conn, :index) %>
</li>
</ul>
</article>