projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix broken Plurality vote by removing a type check in RubyVote. TODO: Figure out...
[selectricity]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
old mode 100755
(executable)
new mode 100644
(file)
index
ebd623a
..
cf7bba5
--- a/
app/models/election.rb
+++ b/
app/models/election.rb
@@
-57,7
+57,7
@@
class Election < ActiveRecord::Base
end
def quickvote?
- quickvote.to_i == 1
+ type == 'QuickVote'
end
def active?
Benjamin Mako Hill
||
Want to submit a patch?