X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/277d9e323c1c9c525c1cea4590dc71bc56aeed06..09c67d9323c7d379d4c6de5dc0457b6de16cff14:/app/models/election.rb?ds=inline diff --git a/app/models/election.rb b/app/models/election.rb old mode 100755 new mode 100644 index ebd623a..cf7bba5 --- a/app/models/election.rb +++ b/app/models/election.rb @@ -57,7 +57,7 @@ class Election < ActiveRecord::Base end def quickvote? - quickvote.to_i == 1 + type == 'QuickVote' end def active?