class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
- layout 'vb'
+ layout 'hc'
before_filter :login_required
@election.voters.each do |voter|
email = VoterNotify.create_votestart(voter)
render(:text => "<pre>" + email.encoded + "</pre>")
- breakpoint
- break
end
#@election.activate!