diff --git a/app/views/polls/questions/_answers.html.erb b/app/views/polls/questions/_answers.html.erb index 7fb4a5d71..7e995b21a 100644 --- a/app/views/polls/questions/_answers.html.erb +++ b/app/views/polls/questions/_answers.html.erb @@ -1,5 +1,5 @@
- <% if can? :answer, question %> + <% if can?(:answer, question) && question.poll.voted_in_booth?(current_user) %> <% question.question_answers.each do |answer| %> <% if @answers_by_question_id[question.id] == answer.title && !voted_before_sign_in(question) %>