Made the results page 'modular,' and all the necessary adaptations.
[selectricity-live] / app / controllers / quickvote_controller.rb
index bb60b4552b029efff74be54bba9282c7599a671f..54784ef46e735749238ea4fc8617bd261cb72d80 100644 (file)
@@ -161,7 +161,7 @@ class QuickvoteController < ApplicationController
       redirect_to :controller => 'site'
       return
     end
-    @election.results
+    @results = @election.results
     @candidates = {}
     @election.candidates.each {|c| @candidates[c.id] = c}
   end

Benjamin Mako Hill || Want to submit a patch?