mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
537 B
537 B
-
Add
config.action_mailer.show_previews
configuration option.This config option can be used to enable the mail preview in environments other than development (such as staging).
Defaults to
true
in development and false elsewhere.Leonard Garvey
-
Allow preview interceptors to be registered through
config.action_mailer.preview_interceptors
.See #15739.
Yves Senn
Please check 4-1-stable for previous changes.