diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-06-14 14:08:05 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-06-14 14:08:05 +0900 |
commit | 91ae6531976d0d2e7690bde0c1d5e6cc651f2578 (patch) | |
tree | addd43abd3d786f3870f26b2fbf1d5e16cfaba9c /guides/source | |
parent | d690af13fcdae086b08dc0043643f5a66ea8cb06 (diff) | |
download | rails-91ae6531976d0d2e7690bde0c1d5e6cc651f2578.tar.gz rails-91ae6531976d0d2e7690bde0c1d5e6cc651f2578.tar.bz2 rails-91ae6531976d0d2e7690bde0c1d5e6cc651f2578.zip |
Add missing documentation about `config.action_mailer.preview_interceptors` [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 7136205b75..6b3f808c6a 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -667,6 +667,12 @@ There are a number of settings available on `config.action_mailer`: config.action_mailer.interceptors = ["MailInterceptor"] ``` +* `config.action_mailer.preview_interceptors` registers interceptors which will be called before mail is previewed. + + ```ruby + config.action_mailer.preview_interceptors = ["MyPreviewMailInterceptor"] + ``` + * `config.action_mailer.preview_path` specifies the location of mailer previews. ```ruby |