]> projects.mako.cc - selectricity/blobdiff - app/controllers/quickvote_controller.rb
Remove the 3A escape code from the view.
[selectricity] / app / controllers / quickvote_controller.rb
index 1e5b14226b0049a83c3bab7477a75de2ee57bbd5..a5c8065035ef1147d1428831cc09dcd7a067c907 100644 (file)
@@ -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") 

Benjamin Mako Hill || Want to submit a patch?