]> projects.mako.cc - selectricity-live/blobdiff - app/models/election.rb
Use WHOIS to search up meaningful organizational data about voters. NOTE: Probably...
[selectricity-live] / app / models / election.rb
old mode 100755 (executable)
new mode 100644 (file)
index ebd623a..cf7bba5
@@ -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?