Remove instance variable as it is not used

This commit is contained in:
Senén Rodero Rodríguez
2022-09-22 13:40:35 +02:00
parent b92b38f48f
commit d70a0bf1d1

View File

@@ -19,8 +19,7 @@ class PollsController < ApplicationController
def show def show
@questions = @poll.questions.for_render.sort_for_list @questions = @poll.questions.for_render.sort_for_list
@commentable = @poll @comment_tree = CommentTree.new(@poll, params[:page], @current_order)
@comment_tree = CommentTree.new(@commentable, params[:page], @current_order)
end end
def stats def stats