diff --git a/app/views/communities/_poll.html.erb b/app/views/communities/_poll.html.erb index 6239a5cca..4e6b6242c 100644 --- a/app/views/communities/_poll.html.erb +++ b/app/views/communities/_poll.html.erb @@ -1,6 +1,6 @@

- <%= link_to poll.title, poll %> + <%= link_to poll.title, proposal_poll_path(@community.proposal, poll) %>

diff --git a/app/views/communities/show.html.erb b/app/views/communities/show.html.erb index d60d914d3..91b70dd62 100644 --- a/app/views/communities/show.html.erb +++ b/app/views/communities/show.html.erb @@ -46,7 +46,9 @@

<%= t("communities.show.surveys") %>

<%= link_to t("communities.show.complete_survey"), - @community.proposal.polls.current.first, class: "button expanded hollow" %> + proposal_poll_path(@community.proposal, + @community.proposal.polls.current.first), + class: "button expanded hollow" %> <% end %>