projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed "elections" controller to "election."
[selectricity]
/
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 4cb72bc779d29fdf7deae3f6016fabfaf005144a..aaa3d9fe7f8924cddde4edd16c5e6c4178b488c4 100644
(file)
--- a/
app/controllers/elections_controller.rb
+++ b/
app/controllers/election_controller.rb
@@
-1,4
+1,4
@@
-class Election
s
Controller < ApplicationController
+class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
## general methods for dealing with elections
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
def detailed_results
self.results
- breakpoint
+
@voter_list = []
@vote_list = []
@election.voters. each do |voter|
@voter_list = []
@vote_list = []
@election.voters. each do |voter|
Benjamin Mako Hill
||
Want to submit a patch?