dev_forum
SylorHuang 5 years ago
parent e8e02abbbb
commit a94728a6c4

@ -99,7 +99,7 @@ class Poll < ApplicationRecord
end
end
def get_poll_status(user)s
def get_poll_status(user)
if course.end_date.present? && course.end_date <= Time.now
status = 4
else

Loading…
Cancel
Save