Show booth associated to current/recounting/incoming polls on shift management admin panel

This commit is contained in:
Bertocq
2017-10-23 19:09:57 +02:00
parent cdff74189b
commit f9458b9ef0

View File

@@ -12,7 +12,7 @@ class Poll
end
def self.available
where(polls: { id: Poll.current_or_incoming }).includes(:polls)
where(polls: { id: Poll.current_or_recounting_or_incoming }).includes(:polls)
end
def assignment_on_poll(poll)