]> projects.mako.cc - selectricity/commitdiff
swap around the recent quickvotes
author<mako@atdot.cc> <>
Wed, 5 Sep 2007 15:47:06 +0000 (11:47 -0400)
committer<mako@atdot.cc> <>
Wed, 5 Sep 2007 15:47:06 +0000 (11:47 -0400)
app/controllers/front_controller.rb

index c4a198da265dbbebe6b9b481c6f832568151a286..4e36ad4fd60a0288bbff7f724440d0bccf2762c9 100644 (file)
@@ -5,7 +5,7 @@ class FrontController < ApplicationController
   require_dependency "account"
 
   def index
   require_dependency "account"
 
   def index
-    @quickvotes = QuickVote.find(:all).sort {|a,b| b.enddate <=> a.enddate}[0..1]
+    @quickvotes = QuickVote.find(:all).sort {|a,b| a.enddate <=> b.enddate}[0..1]
     # if the person claims they are logged in
    
     if logged_in?
     # if the person claims they are logged in
    
     if logged_in?

Benjamin Mako Hill || Want to submit a patch?