Calculates SP.total_votes using physical_votes

This commit is contained in:
kikito
2016-04-15 17:16:35 +02:00
parent 3adcd9c304
commit d9ec2e2cf3
2 changed files with 12 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ class SpendingProposal < ActiveRecord::Base
end
def total_votes
cached_votes_up
cached_votes_up + physical_votes
end
def code