From 69ad584d58052d0e27619cbfa50575499863217b Mon Sep 17 00:00:00 2001 From: Mike Zornek Date: Mon, 5 Aug 2024 20:52:49 -0400 Subject: [PATCH] Update link. --- lib/flick_web/live/ballots/index_live.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flick_web/live/ballots/index_live.ex b/lib/flick_web/live/ballots/index_live.ex index 2977edd..59783d7 100644 --- a/lib/flick_web/live/ballots/index_live.ex +++ b/lib/flick_web/live/ballots/index_live.ex @@ -35,7 +35,7 @@ defmodule FlickWeb.Ballots.IndexLive do <% end %> <:col :let={ballot}> - <.link :if={ballot.published_at} navigate={~p"/vote/#{ballot.id}"}>Voting Page + <.link :if={ballot.published_at} navigate={~p"/#{ballot.url_slug}"}>Voting Page <:col :let={ballot}> <.link navigate={~p"/#{ballot.url_slug}/#{ballot.id}"}>View