X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c5d48f6ea92e43f07182d20ebe693692b4330437..99e1580f0d7707b8e2f8c08f8aae70c3d4906637:/app/views/election/_voter_list.rhtml diff --git a/app/views/election/_voter_list.rhtml b/app/views/election/_voter_list.rhtml index 4493b0a..34aa207 100644 --- a/app/views/election/_voter_list.rhtml +++ b/app/views/election/_voter_list.rhtml @@ -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 %>