Fixed issue accumulating supports

This commit is contained in:
Juan Salvador Pérez García
2018-09-17 19:49:33 +02:00
parent a658536142
commit e8e01b184f
3 changed files with 11 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ class Dashboard::SuccessfulSupportsController < Dashboard::BaseController
def accumulated_grouped_supports
grouped_votes = grouped_supports(:voted_at)
fill_holes(grouped_votes)
grouped_votes = fill_holes(grouped_votes)
accumulate_supports(grouped_votes)
end