Skip to content
Commits on Jul 1, 2014
  1. @lengarvey

    Add configuration to enable mail previews

    lengarvey committed Jun 30, 2014
    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:
    Update actionmailer/CHANGELOG with new configuration.
    Update configuring guide with new configuratation.
    Add `config.action_mailer.preview_path` to configuring guide.
Something went wrong with that request. Please try again.