X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..1f51239a3f2c15fd1cf88f0ecf96d8be01e25685:/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]