X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/8e1a0d53f38d9d4298ac4b393558ff3345ddb045..de7ac9ab65e04dbb81165e4317894a0e160ac9be:/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