class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
- elsif incoming_voters.email == 1
- email_voter( new_voter )
- new_voter.contacted = 1
- else
- new_voter.contacted = 0
- end
+ elsif incoming_voters.email == 1
+ email_voter( new_voter )
+ new_voter.contacted = 1
+ else
+ new_voter.contacted = 0
+ end