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
end
# methods fod display, adding, deleting, and manipulating candidate
end
# methods fod display, adding, deleting, and manipulating 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