X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c65b1e11059c5cf510b54c785d4a246215058f70..09c67d9323c7d379d4c6de5dc0457b6de16cff14:/app/models/quick_vote.rb?ds=sidebyside diff --git a/app/models/quick_vote.rb b/app/models/quick_vote.rb index 8d4e6e8..eb4e63c 100644 --- a/app/models/quick_vote.rb +++ b/app/models/quick_vote.rb @@ -16,6 +16,7 @@ class QuickVote < Election def initialize(params={}) super + self.startdate = Time.now self.enddate = Time.now + 30.days self.active = 1 self.anonymous = 1