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