]> projects.mako.cc - selectricity/commitdiff
An @edit=true declaration was missing from edit_voters that prevented the voter delet...
author<jlsharps@mit.edu> <>
Mon, 25 Aug 2008 23:36:54 +0000 (19:36 -0400)
committer<jlsharps@mit.edu> <>
Mon, 25 Aug 2008 23:36:54 +0000 (19:36 -0400)
app/controllers/election_controller.rb

index be2fb3d2c9efd26c5deb6e8ee150249b5e509ac2..3e169646bac4d583087fc585c36304fc186f9999 100644 (file)
@@ -233,6 +233,7 @@ class ElectionController < ApplicationController
     if params.has_key?( :raw_voter_list )
       process_incoming_voters( params[:raw_voter_list] )
     end
     if params.has_key?( :raw_voter_list )
       process_incoming_voters( params[:raw_voter_list] )
     end
+    @edit = true
     @raw_voter_list = RawVoterList.new
   end
   
     @raw_voter_list = RawVoterList.new
   end
   

Benjamin Mako Hill || Want to submit a patch?