Skip to content

Commit

Permalink
Update link.
Browse files Browse the repository at this point in the history
  • Loading branch information
zorn committed Aug 6, 2024
1 parent 9fb3527 commit 69ad584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flick_web/live/ballots/index_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ defmodule FlickWeb.Ballots.IndexLive do
<% end %>
</:col>
<:col :let={ballot}>
<.link :if={ballot.published_at} navigate={~p"/vote/#{ballot.id}"}>Voting Page</.link>
<.link :if={ballot.published_at} navigate={~p"/#{ballot.url_slug}"}>Voting Page</.link>
</:col>
<:col :let={ballot}>
<.link navigate={~p"/#{ballot.url_slug}/#{ballot.id}"}>View</.link>
Expand Down

0 comments on commit 69ad584

Please sign in to comment.