]> projects.mako.cc - selectricity/blobdiff - app/views/election/_candidate_line_edit.rhtml
referenced mailing list and gitorious
[selectricity] / app / views / election / _candidate_line_edit.rhtml
index bcb7cd92809eb2731549dd1cd584746bb9c4c0ec..0260a6a7176091ad10dbd2b540da10ea019b40d8 100644 (file)
@@ -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 } %>
    </div>
    <div class="clear-div"></div>
    <%= render :partial => 'candidate_box_info' %>

Benjamin Mako Hill || Want to submit a patch?