X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/adfcf4dd7d989d0560e2a8f6a590dd10c5a49a08..fdf4d7a7c42462ffad099a04523d1494abcd226b:/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?