Skip to content

Commit

Permalink
Remove unused investment_votes for stats
Browse files Browse the repository at this point in the history
  • Loading branch information
decabeza committed Oct 19, 2020
1 parent 7120e54 commit 21d1e84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/stats_controller.rb
Expand Up @@ -14,7 +14,6 @@ def index
@debate_votes = daily_cache("debate_votes") { Vote.where(votable_type: "Debate").count }
@proposal_votes = daily_cache("proposal_votes") { Vote.where(votable_type: "Proposal").count }
@comment_votes = daily_cache("comment_votes") { Vote.where(votable_type: "Comment").count }
@investment_votes = daily_cache("budget_investment_votes") { Vote.where(votable_type: "Budget::Investment").count }
@votes = daily_cache("votes") { Vote.count }

@verified_users = daily_cache("verified_users") { User.with_hidden.level_two_or_three_verified.count }
Expand Down

0 comments on commit 21d1e84

Please sign in to comment.