X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/98bb7b88caea42148d7ebd72e408f523bcac4f96..3130bc1c24f60ec0db68ef9a8e996ecae6eac385:/app/controllers/election_controller.rb diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index ccbbafe..3d811e6 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -239,7 +239,7 @@ class ElectionController < ApplicationController end def delete_voter - voter = Voter.find( params[:id] ) + voter = FullVoter.find( params[:id] ) voter.destroy end