X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/b47d1fbe36d5aeb9b79d6bbaab035ca448a3c3ef..597d4add3416d06c2befb6368a06f6cea4215a39:/app/controllers/application.rb?ds=sidebyside diff --git a/app/controllers/application.rb b/app/controllers/application.rb index d8b2560..7a725ba 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -47,6 +47,7 @@ class ApplicationController < ActionController::Base #both election_controller and quickvote_controller need this method def sort_candidates + @vote = Vote.find(params[:id]) @vote.rankings.each do |ranking|