提交 91ae6531 编写于 作者: Y yuuji.yaginuma

Add missing documentation about `config.action_mailer.preview_interceptors` [ci skip]

上级 d690af13
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册