projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the forgot password functionality to the voters of Full Elections. Also, modifi...
[selectricity-live]
/
app
/
models
/
voter_notify.rb
diff --git
a/app/models/voter_notify.rb
b/app/models/voter_notify.rb
index d9fded5888faf10a84e5015215fcc501ecb9cf91..825786a7a33ba01754ce908aaa7ab66d669144a5 100644
(file)
--- a/
app/models/voter_notify.rb
+++ b/
app/models/voter_notify.rb
@@
-8,7
+8,12
@@
class VoterNotify < ActionMailer::Base
@body = { :voter => voter }
end
@body = { :voter => voter }
end
- def reminder(voter)
+ def reminder(voter_array)
+ @subject = "Selectricity Election Reminder!"
+ @recipients = voter_array[0].email
+ @from = MAIL_CONFIG[:from]
+ @sent_on = Time.now
+ @body = { :voter_array => voter_array }
end
end
end
end
Benjamin Mako Hill
||
Want to submit a patch?