updates poll question path

This commit is contained in:
rgarcia
2016-11-17 16:45:24 +01:00
parent 9b46a7fe8f
commit db94e241fe

View File

@@ -27,7 +27,7 @@
<% @answerable_questions.each do |question| %>
<div id="<%= dom_id(question) %>">
<%= link_to question.title, poll_question_path(@poll, question) %>
<%= link_to question.title, question_path(question) %>
<div class="row margin-top text-center" id="<%= dom_id(question) %>_answers">
<%= render 'polls/questions/answers', question: question %>
@@ -44,7 +44,7 @@
<% @non_answerable_questions.each do |question| %>
<div id="<%= dom_id(question) %>">
<%= link_to question.title, poll_question_path(@poll, question) %>
<%= link_to question.title, question_path(question) %>
<div class="row margin-top text-center" id="<%= dom_id(question) %>_answers">
<%= render 'polls/questions/answers', question: question %>