]> projects.mako.cc - selectricity-live/commitdiff
tiny fix
author<mako@atdot.cc> <>
Mon, 16 Oct 2006 19:09:30 +0000 (15:09 -0400)
committer<mako@atdot.cc> <>
Mon, 16 Oct 2006 19:09:30 +0000 (15:09 -0400)
app/models/quick_vote.rb

index 3538a3cc5d9047f2a4a7fccc8cc925bca6c2e2f2..ab97e616b9131e85f4056bf43cab22f3d935a45c 100644 (file)
@@ -16,7 +16,7 @@ class QuickVote < Election
   
   def initialize(params={})
     super
   
   def initialize(params={})
     super
-    self.enddate =  Time.now + 30
+    self.enddate =  Time.now + 30.days
     self.active = 1
     self.anonymous = 1
     self.quickvote = 1
     self.active = 1
     self.anonymous = 1
     self.quickvote = 1

Benjamin Mako Hill || Want to submit a patch?