X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/adfcf4dd7d989d0560e2a8f6a590dd10c5a49a08..df110d7f86db5f05269a5e4ea372ec3357874833:/app/models/election.rb diff --git a/app/models/election.rb b/app/models/election.rb index 08ef1a5..9ce89b9 100644 --- a/app/models/election.rb +++ b/app/models/election.rb @@ -86,7 +86,7 @@ class Election < ActiveRecord::Base end def quickvote? - self.class == 'QuickVote' + self.class == QuickVote end def active?