Fix show_voting? so it is true even during the voting period

This commit is contained in:
Michael Ball 2021-05-03 03:36:55 -07:00
parent 653395c123
commit 23c14f82f8
3 changed files with 8 additions and 6 deletions

View file

@ -117,7 +117,8 @@ class Program < ApplicationRecord
def show_voting?
return true unless blind_voting
Time.current > voting_end_date
# TODO-SNAPCON: UPDATE TESTS
# Time.current > voting_end_date
end
##