X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/65b8c179d0b9c82295deda4750a9a48202ebfe2d..afa6b59aed60497d059af87c049c0b4f1a6c8b6c:/app/controllers/site_controller.rb?ds=inline diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 7768322..e26a368 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -3,7 +3,7 @@ class SiteController < ApplicationController model :user, :election, :account def index - @quickvotes = QuickVote.find(:all, ["quickvote = 1"]).sort {|a,b| b.enddate <=> a.enddate}[0..1] + @quickvotes = QuickVote.find(:all).sort {|a,b| b.enddate <=> a.enddate}[0..1] # if the person claims they are logged in if logged_in?