X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/e7bff908a0ea52b62e4fa0dc13be0293a51dcbb1..83a39529b634c0344a7884d5813e3f7e1a7dbcb4:/app/views/election/_candidate_line_edit.rhtml diff --git a/app/views/election/_candidate_line_edit.rhtml b/app/views/election/_candidate_line_edit.rhtml index bcb7cd9..0260a6a 100644 --- a/app/views/election/_candidate_line_edit.rhtml +++ b/app/views/election/_candidate_line_edit.rhtml @@ -6,7 +6,7 @@ <%= link_to_remote "Delete", :complete => "Element.remove('cand#{@current_candidate.id}')", :url => { :action => :delete_candidate, - :id => @current_candidate.id } %> + :id => @election.id, :candidate => @current_candidate.id } %>
<%= render :partial => 'candidate_box_info' %>