|
|
@ -123,7 +123,7 @@ class PollVotesController < ApplicationController
|
|
|
|
if @poll_question.blank?
|
|
|
|
if @poll_question.blank?
|
|
|
|
normal_status(-1,"问卷试题不存在!")
|
|
|
|
normal_status(-1,"问卷试题不存在!")
|
|
|
|
else
|
|
|
|
else
|
|
|
|
@poll = @poll_question.poll.includes(:poll_users)
|
|
|
|
@poll = @poll_question.poll
|
|
|
|
@course = @poll.course
|
|
|
|
@course = @poll.course
|
|
|
|
if @poll.blank?
|
|
|
|
if @poll.blank?
|
|
|
|
normal_status(-1,"问卷不存在!")
|
|
|
|
normal_status(-1,"问卷不存在!")
|
|
|
|