X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/adfcf4dd7d989d0560e2a8f6a590dd10c5a49a08..e6fe35a13a73266debac4ce0cc42121b6845ab83:/app/views/election/_candidate_line_edit.rhtml?ds=sidebyside 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' %>