X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/dc7d60a0de460c72d292b43616eb97a8b34741c8:/app/controllers/elections_controller.rb..c933ff40da110253bc4c474d9c79c3a4ed98721d:/app/controllers/election_controller.rb diff --git a/app/controllers/elections_controller.rb b/app/controllers/election_controller.rb similarity index 98% rename from app/controllers/elections_controller.rb rename to app/controllers/election_controller.rb index 4cb72bc..aaa3d9f 100644 --- a/app/controllers/elections_controller.rb +++ b/app/controllers/election_controller.rb @@ -1,4 +1,4 @@ -class ElectionsController < ApplicationController +class ElectionController < ApplicationController model :raw_voter_list, :voter, :vote, :candidate ## general methods for dealing with elections @@ -127,7 +127,7 @@ class ElectionsController < ApplicationController def detailed_results self.results - breakpoint + @voter_list = [] @vote_list = [] @election.voters. each do |voter|