X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/8964e46880760a85a7c86a239f032c841a96410d..8f23a174c70223831055e1498b50c3ba260858fe:/app/controllers/quickvote_controller.rb?ds=sidebyside diff --git a/app/controllers/quickvote_controller.rb b/app/controllers/quickvote_controller.rb index 1e5b142..a5c8065 100644 --- a/app/controllers/quickvote_controller.rb +++ b/app/controllers/quickvote_controller.rb @@ -160,16 +160,6 @@ class QuickvoteController < ApplicationController 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")