* Add automated email ownership emails This is task Michael does manually a lot. There are a lot of cases where we need to validate that an individual has access to the email address associated with their DEV account. This automates a singificant portion of that, and hopefully we can use it in a lot of places.
7 lines
296 B
Ruby
7 lines
296 B
Ruby
# Preview all emails at http://localhost:3000/rails/mailers/verification_mailer
|
|
class VerificationMailerPreview < ActionMailer::Preview
|
|
def account_ownership_verification_email
|
|
params = { user_id: User.last.id }
|
|
VerificationMailer.account_ownership_verification_email(params)
|
|
end
|
|
end
|