projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rebranded from votingbooth to hyperchad
[selectricity]
/
app
/
controllers
/
election_controller.rb
diff --git
a/app/controllers/election_controller.rb
b/app/controllers/election_controller.rb
index 46da56ef784379d7fa87d0e7e59327e73f45ed01..7145d3d20c3ce4198fcb9d5d88bbc1747967e0fe 100644
(file)
--- a/
app/controllers/election_controller.rb
+++ b/
app/controllers/election_controller.rb
@@
-1,6
+1,6
@@
class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
- layout '
vb
'
+ layout '
hc
'
before_filter :login_required
before_filter :login_required
@@
-54,8
+54,6
@@
class ElectionController < ApplicationController
@election.voters.each do |voter|
email = VoterNotify.create_votestart(voter)
render(:text => "<pre>" + email.encoded + "</pre>")
@election.voters.each do |voter|
email = VoterNotify.create_votestart(voter)
render(:text => "<pre>" + email.encoded + "</pre>")
- breakpoint
- break
end
#@election.activate!
end
#@election.activate!
Benjamin Mako Hill
||
Want to submit a patch?