|
|
@ -911,7 +911,7 @@ class PollsController < ApplicationController
|
|
|
|
end
|
|
|
|
end
|
|
|
|
error_question = error_question.reject(&:blank?)
|
|
|
|
error_question = error_question.reject(&:blank?)
|
|
|
|
if error_question.reject(&:blank?).length > 0
|
|
|
|
if error_question.reject(&:blank?).length > 0
|
|
|
|
normal_status(-1, "#{error_question.join("\n")}")
|
|
|
|
normal_status(-1, "#{error_question.join(";")}")
|
|
|
|
else
|
|
|
|
else
|
|
|
|
poll_user_current = @poll.poll_users.find_by_group_ids(current_user.id).first
|
|
|
|
poll_user_current = @poll.poll_users.find_by_group_ids(current_user.id).first
|
|
|
|
poll_user_params = {
|
|
|
|
poll_user_params = {
|
|
|
|