|
|
|
@ -13,7 +13,7 @@ module PollsHelper
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def poll_votes_count(votes,user_ids)
|
|
|
|
|
votes.find_current_vote("user_id",user_ids.uniq).reject(&:blank?).size
|
|
|
|
|
votes.find_current_vote("user_id",user_ids.uniq).pluck(:user_id).uniq.reject(&:blank?).size
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
#公用tab页的相关信息
|
|
|
|
|