projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made the results page 'modular,' and all the necessary adaptations.
[selectricity-live]
/
app
/
controllers
/
quickvote_controller.rb
diff --git
a/app/controllers/quickvote_controller.rb
b/app/controllers/quickvote_controller.rb
index bb60b4552b029efff74be54bba9282c7599a671f..54784ef46e735749238ea4fc8617bd261cb72d80 100644
(file)
--- a/
app/controllers/quickvote_controller.rb
+++ b/
app/controllers/quickvote_controller.rb
@@
-161,7
+161,7
@@
class QuickvoteController < ApplicationController
redirect_to :controller => 'site'
return
end
- @election.results
+ @
results = @
election.results
@candidates = {}
@election.candidates.each {|c| @candidates[c.id] = c}
end
Benjamin Mako Hill
||
Want to submit a patch?