class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
## methods for displaying, creating,
## and manipulating election overview data
## methods for displaying, creating,
## and manipulating election overview data
- 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