require_dependency "candidate"
layout 'main'
- #before_filter :login_required
-
## methods for displaying, creating,
## and manipulating election overview data
####################################################################
voter.destroy
end
+ def remind_voter
+ voter_array= FullVoter.find(:all, :conditions => ["email = ?", params[:email]])
+ voter_array.delete_if {|voter| voter.election.active == 0}
+ unless voter_array.empty?
+ VoterNotify.deliver_reminder(voter_array)
+ end
+ end
+
## methods for computing and printing results
####################################################################
def results