X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c65b1e11059c5cf510b54c785d4a246215058f70..b82260b129b48f9da19e73e81e1e26b89c1f53e5:/app/models/quick_vote.rb 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