X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/9129a21b28c88064edfcfc8a8fa23a640f29819c..df110d7f86db5f05269a5e4ea372ec3357874833:/app/models/election.rb?ds=inline 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?