Fix show_voting? so it is true even during the voting period
This commit is contained in:
parent
653395c123
commit
23c14f82f8
3 changed files with 8 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue