Use proposal_poll_path on communities poll links
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<div class="community-poll">
|
<div class="community-poll">
|
||||||
<h4>
|
<h4>
|
||||||
<%= link_to poll.title, poll %>
|
<%= link_to poll.title, proposal_poll_path(@community.proposal, poll) %>
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
<p class="topic-info">
|
<p class="topic-info">
|
||||||
|
|||||||
@@ -46,7 +46,9 @@
|
|||||||
<div class="sidebar-divider"></div>
|
<div class="sidebar-divider"></div>
|
||||||
<h2><%= t("communities.show.surveys") %></h2>
|
<h2><%= t("communities.show.surveys") %></h2>
|
||||||
<%= link_to t("communities.show.complete_survey"),
|
<%= 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 %>
|
<% end %>
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user