]> projects.mako.cc - selectricity/blobdiff - app/views/election/_voter_list.rhtml
fixed a large number of bugs in the software (see wiki) over a days work
[selectricity] / app / views / election / _voter_list.rhtml
index 4493b0a3950f5c862576f4172c7463004a9d15fa..34aa2074d385a6f5f0d6730e5c6420473cfc84af 100644 (file)
@@ -13,7 +13,8 @@
         <% if @edit %>
         <%= link_to_remote "Delete",
                     :complete => "Element.remove('voter#{voter.id}')",
-                    :url => { :action => :delete_voter, :id => voter.id } %>
+                    :url => { :action => :delete_voter, :id => @election.id,
+                              :voter => voter.id } %>
         <% end %>
     </li>
   </div>  

Benjamin Mako Hill || Want to submit a patch?