aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorLeonard Garvey <lengarvey@gmail.com>2014-06-30 00:12:25 +1000
committerLeonard Garvey <lengarvey@gmail.com>2014-07-01 14:39:59 +1000
commit84ed7b8dfeb2ba47ca8c1b0767c85bbf200e786b (patch)
treec4c2bb39d5571fd3a4228f2ab42795997f0293b5 /Rakefile
parentb4b6248b90ac62ece6a46bee4d36868d19444df3 (diff)
downloadrails-84ed7b8dfeb2ba47ca8c1b0767c85bbf200e786b.tar.gz
rails-84ed7b8dfeb2ba47ca8c1b0767c85bbf200e786b.tar.bz2
rails-84ed7b8dfeb2ba47ca8c1b0767c85bbf200e786b.zip
Add configuration to enable mail previews
Adds `config.action_mailer.preview_enabled` This allows mail previewing to be enabled easily in non-development environments such as staging. The default is set to true for development so no changes should be required to existing Rails applications. The mail preview path can still be configured using the existing `config.action_mailer.preview_path` configuration option. Adding this avoids devs from having to do stuff like: https://gist.github.com/lengarvey/fa2c9bd6cdbeba96526a Update actionmailer/CHANGELOG with new configuration. Update configuring guide with new configuratation. Add `config.action_mailer.preview_path` to configuring guide.
Diffstat (limited to 'Rakefile')
0 files changed, 0 insertions, 0 deletions