@ -6,7 +6,6 @@ class PollVotesController < ApplicationController
def create #每一次答案的点击,请求一次
ActiveRecord::Base.transaction do
begin
question_votes = @poll_question.poll_votes
question_type = @poll_question.question_type
@ -120,7 +119,6 @@ class PollVotesController < ApplicationController
raise ActiveRecord::Rollback
end
private