15 lines
440 B
Ruby
15 lines
440 B
Ruby
# Preview all emails at http://localhost:3000/rails/mailers/candidate_mailer
|
|
class CandidateMailerPreview < ActionMailer::Preview
|
|
def welcome
|
|
CandidateMailer.welcome Candidate.find_by(test_hash: 'R67PmfDHGiw') # Martha
|
|
end
|
|
|
|
def reminder
|
|
CandidateMailer.reminder Candidate.find_by(test_hash: 'NmEjDkOEKY4') # Roy
|
|
end
|
|
|
|
def submitted
|
|
CandidateMailer.submitted Candidate.find_by(test_hash: 'OvP0ZqGKwJ0') # Dawn
|
|
end
|
|
end
|