X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/c8404eeb9ad60aa18526c56feff2d26ea161028b..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 %>