about summary refs log tree commit diff
path: root/config/initializers/active_model_serializers.rb
diff options
context:
space:
mode:
authorafontenot <adam.m.fontenot@gmail.com>2022-11-26 14:08:25 -0800
committerGitHub <noreply@github.com>2022-11-26 23:08:25 +0100
commitf17fc5742e539db10e0e430f5218c440849b894c (patch)
tree53dc0a958d48912333ab8f64759a5ce817106c01 /config/initializers/active_model_serializers.rb
parent95b24c51ece406ee50a67c9682fd5bd887d927e5 (diff)
Clear voter count when poll is reset (#21700)
When a poll is edited, we reset the poll and remove all previous
votes. However, prior to this commit, the voter count on the poll
was not reset. This leads to incorrect percentages being shown in
poll results.

Fixes #21696
Diffstat (limited to 'config/initializers/active_model_serializers.rb')
0 files changed, 0 insertions, 0 deletions