adds physical_votes to vote counter
This commit is contained in:
@@ -62,7 +62,7 @@ class Proposal < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def total_votes
|
||||
cached_votes_up
|
||||
cached_votes_up + physical_votes
|
||||
end
|
||||
|
||||
def editable?
|
||||
|
||||
Reference in New Issue
Block a user