Merge branch 'master' into 1786-poll_results

This commit is contained in:
María Checa
2017-10-23 13:43:58 +02:00
25 changed files with 341 additions and 153 deletions

View File

@@ -15,5 +15,8 @@ class Poll
where(polls: { id: Poll.current_or_incoming }).includes(:polls)
end
def assignment_on_poll(poll)
booth_assignments.where(poll: poll).first
end
end
end
end