voter.destroy
redirect_to quickvote_url( :ident => params[:ident] )
end
-
- def sort_candidates
- @vote = Vote.find(params[:id])
-
- @vote.rankings.each do |ranking|
- ranking.rank = params['rankings-list'].index(ranking.candidate.id.to_s) + 1
- ranking.save
- end
- render :nothing => true
- end
def mapvoters
@map = GMap.new("map_div_id")