Following the admin_activation.rdoc guide I noticed that this two snippets of code won't work with latest release(2.25.0)
This one fails to override the email_to:
# Send account verification email to the admin
email_to do
if account[account_status_column] == account_unverified_status_value
"admin@myapp.com"
else
super()
end
end
This fails to override email's body
verify_account_email_body do
"The user #{account[login_column]} has created an account. Click here to approve it: #{verify_account_email_link}."
end
Following the admin_activation.rdoc guide I noticed that this two snippets of code won't work with latest release(
2.25.0
)This one fails to override the
email_to
:This fails to override email's body
Thanks!