]> projects.mako.cc - selectricity-live/blobdiff - app/views/common/_methodinfo_ssd.rhtml
Fix errors when viewing results as election creator before election close.
[selectricity-live] / app / views / common / _methodinfo_ssd.rhtml
index 230191ca381c86581fd377c5729bd6cf032fe5ea..5c01987c562b4dbe49837d981e8e4cd209fb5098 100644 (file)
@@ -32,7 +32,7 @@ Beatpath Winner, Path Voting, and Path Winner.</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?