]> projects.mako.cc - selectricity-live/blobdiff - app/views/quickvote/results.rhtml
removed save line that was causing the new elections to fail
[selectricity-live] / app / views / quickvote / results.rhtml
index ef2ffd9444db3a636fc964af42cf06a7a3721a00..8ce400aebe5e397393d0f46df1426f3a495f0dce 100755 (executable)
@@ -21,7 +21,7 @@
 
 <p><strong>Number of voters:</strong></p>
    <blockquote>
-     <%= @election.voters.length %> (see below for details) 
+     <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details) 
    </blockquote>
 
 <h2>Winners</h2>

Benjamin Mako Hill || Want to submit a patch?