]> projects.mako.cc - selectricity-live/blobdiff - app/models/election.rb
made the license clear
[selectricity-live] / app / models / election.rb
index 08ef1a57c025d7fe5192d0dc396b828ada9a12f0..9ce89b9b6baae86009ebc4b7ebdaef096e4dd970 100644 (file)
@@ -86,7 +86,7 @@ class Election < ActiveRecord::Base
   end
   
   def quickvote?
-    self.class == 'QuickVote'
+    self.class == QuickVote
   end
 
   def active?

Benjamin Mako Hill || Want to submit a patch?