X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/a48ffbac5ce1517a369ef84426bfe44d6ebad7cb..2fed9b6ceaf0953daf0f085f78520263ab0fa804:/app/controllers/election_controller.rb?ds=sidebyside 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