1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/application
Leonard Garvey 84ed7b8dfe 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.
2014-07-01 14:39:59 +10:00
..
bootstrap.rb Revert "Only lookup config.log_level for stdlib ::Logger. Closes #11665." 2014-02-21 09:50:19 -05:00
configuration.rb Use Rails::Paths::Path#existent in database_configuration 2014-05-07 18:18:00 -04:00
default_middleware_stack.rb Move Rack::Cache after AD::Static in the stack 2013-09-25 17:06:20 -07:00
finisher.rb Add configuration to enable mail previews 2014-07-01 14:39:59 +10:00
routes_reloader.rb Use Ruby 1.9 Hash syntax in railties 2012-10-14 18:26:58 +02:00