Fix errors when viewing results as election creator before election close.
[selectricity] / app / views / common / _methodinfo_condorcet.rhtml
index b941eea258158ab9657b23423796b64d909fac39..1c2a382202b9f2e1a3b1e30e8aba4799f2c8e30f 100644 (file)
@@ -20,7 +20,7 @@ another Condorcet system.</p>
   tables. 
 
   <% if not @election.class == QuickVote %>
-    <%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %>
+    <%= link_to "Click here", { :action => 'pref_tables', :id => @election.id }, :popup => [] %>
     to view details.
   <% end %>
   

Benjamin Mako Hill || Want to submit a patch?