projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modified QuickVote table to work by object type and not by the weird
[selectricity-live]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
index ebd623a6b186d4006d54c2f144557d0003a169fa..cf7bba58a2974f409a2828226d4dd43dc2f023ac 100755
(executable)
--- 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?