Variety of small changes (mostly to properties) plus a few "in the
[selectricity-live] / app / controllers / site_controller.rb
old mode 100644 (file)
new mode 100755 (executable)
index 47ae2cb..d5eab86
@@ -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?