Remove obsolete poll answers variable

This code is obsolete since commit c6e4b248.
This commit is contained in:
Javi Martín
2019-09-24 18:29:33 +02:00
parent f767f231dc
commit 06030933a4

View File

@@ -25,7 +25,6 @@ class PollsController < ApplicationController
.where.not(description: "").order(:given_order)
@answers_by_question_id = {}
poll_answers = ::Poll::Answer.by_question(@poll.question_ids).by_author(current_user&.id)
@last_pair_question_answers = {}
@questions.each do |question|