Renamed CSS and layout to move from the old name (HC) to the new name
[selectricity] / app / controllers / site_controller.rb
index 776832218c2b9a611e874a50564f3efa42805696..e86624e5f9f985772fc9a9a0f22eb8b8b419fe6d 100644 (file)
@@ -1,9 +1,9 @@
 class SiteController < ApplicationController
-  layout 'hc'
+  layout 'main'
   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?

Benjamin Mako Hill || Want to submit a patch?