X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/34fe63727a8929d7e9c529feee1f0c1e827acdfa..0f9228bed08f8f5e472b27a46ce05de27afd880b:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 47ae2cb..d5eab86 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -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]