diff --git a/app/views/polls/show.html.erb b/app/views/polls/show.html.erb index d9bfbbd3b..7cfd02f99 100644 --- a/app/views/polls/show.html.erb +++ b/app/views/polls/show.html.erb @@ -27,7 +27,7 @@ <% @answerable_questions.each do |question| %>
- <%= link_to question.title, poll_question_path(@poll, question) %> + <%= link_to question.title, question_path(question) %>
<%= render 'polls/questions/answers', question: question %> @@ -44,7 +44,7 @@ <% @non_answerable_questions.each do |question| %>
- <%= link_to question.title, poll_question_path(@poll, question) %> + <%= link_to question.title, question_path(question) %>
<%= render 'polls/questions/answers', question: question %>