]> projects.mako.cc - selectricity-live/blobdiff - app/models/quick_vote.rb
Updated the system to Rails 1.2.
[selectricity-live] / app / models / quick_vote.rb
old mode 100644 (file)
new mode 100755 (executable)
index 3538a3c..ab97e61
@@ -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?