diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-03-22 20:27:36 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-05-25 16:56:06 -0400 |
commit | 2682c5884777f1bfd5cb0b5c85b1f3c188906460 (patch) | |
tree | dd4ff8e8ae0e4b9f11fcf253acda7f44670a3d7a /config/environments | |
parent | f96127bc2c9d9b711960cc2ea4cb4f2ffde5cfcb (diff) | |
download | gitlab-ce-2682c5884777f1bfd5cb0b5c85b1f3c188906460.tar.gz |
Customize ActionMailer preview path
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/development.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 4f39016bfa4..8cca0039b4a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -39,6 +39,7 @@ Rails.application.configure do config.action_mailer.delivery_method = :letter_opener_web # Don't make a mess when bootstrapping a development environment config.action_mailer.perform_deliveries = (ENV['BOOTSTRAP'] != '1') + config.action_mailer.preview_path = 'spec/mailers/previews' config.eager_load = false end |