]> projects.mako.cc - selectricity-live/blob - app/models/voter_notify.rb
Finished organzing preferential vote tables into one partial. Also changed RubyVote...
[selectricity-live] / app / models / voter_notify.rb
1 class VoterNotify < ActionMailer::Base
2
3   def votestart(voter)
4     @subject = "[%s] Election Begun!" % voter.election.name
5     @recipients = voter.email
6     @from = MAIL_CONFIG[:from]
7     @sent_on = Time.now
8     @body = { :voter => voter }
9   end
10
11   def reminder(voter)
12   end
13
14 end

Benjamin Mako Hill || Want to submit a patch?