summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-04-22 16:13:59 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-04-22 16:13:59 -0400
commit702380f1aed9d20cc48d24164e4910613ec18703 (patch)
tree371d2fae333a4d282c5d6514dcc073d24166f64f /config/environments
parent80893cad672361e62c0c05c2cf9262209bc54fd2 (diff)
downloadgitlab-ce-702380f1aed9d20cc48d24164e4910613ec18703.tar.gz
Add letter_opener_web gemrs-letter_opener_web
Sent emails in the development environment will no longer automatically be opened in the browser. If a sent email needs to be viewed, it can be found at the `/rails/letter_opener` route.
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 689694a3480..4f39016bfa4 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -36,7 +36,7 @@ Rails.application.configure do
# For having correct urls in mails
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
# Open sent mails in browser
- config.action_mailer.delivery_method = :letter_opener
+ 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')