diff --git a/app/views/polls/_poll_group.html.erb b/app/views/polls/_poll_group.html.erb index 7221356a8..13b9a495d 100644 --- a/app/views/polls/_poll_group.html.erb +++ b/app/views/polls/_poll_group.html.erb @@ -49,7 +49,7 @@ <% elsif poll.stats_enabled? %> <%= link_to poll.name, stats_poll_path(poll) %> <% else %> - <%= link_to poll.name, poll_path(poll.slug) %> + <%= link_to poll.name, poll_path(id: poll.slug) %> <% end %> <%= poll_dates(poll) %> @@ -72,7 +72,7 @@
- <%= link_to poll_path(poll.slug), class: "button hollow expanded" do %> + <%= link_to poll_path(id: poll.slug), class: "button hollow expanded" do %> <% if poll.expired? %> <%= t("polls.index.participate_button_expired") %> <% else %>