]> projects.mako.cc - selectricity-live/blobdiff - app/controllers/site_controller.rb
added page for hc-anywhere
[selectricity-live] / app / controllers / site_controller.rb
index 47ae2cbd87af5dbde48f59c1fdbb6feb44c92f4d..d5eab862c5326434d9bc6979be4cc85b2caa7eba 100644 (file)
@@ -3,6 +3,7 @@ class SiteController < ApplicationController
   model :user, :election
 
   def index
+    @quickvotes = QuickVote.find_all(["quickvote = 1"]).sort {|a,b| b.enddate <=> a.enddate}[0..1]
     # if the person claims they are logged in
     if session[:user]
 

Benjamin Mako Hill || Want to submit a patch?