Previews & Preview
# 配置预览文件存放的位置,默认如下:
config.action_mailer.preview_path = "#{Rails.root}/lib/mailer_previews"
# 配置是否允许邮件预览。开发模式下,默认为 true
config.action_mailer.show_previews = truehttp://localhost:3000/rails/mailers/register_preview_interceptor
register_preview_interceptorsall
emails
preview_name
call
email_exists?
find
exists?最后更新于