From 249701211d4d071aa9443b8254842b727778bb32 Mon Sep 17 00:00:00 2001 From: Alex Earl Date: Tue, 7 May 2013 04:16:41 -0700 Subject: [PATCH] include example mailer options. Fixes #3171 --- config/environments/production.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 6ae0324fa8c..2bfccd3040c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -73,4 +73,9 @@ Gitlab::Application.configure do # # } config.action_mailer.perform_deliveries = true config.action_mailer.raise_delivery_errors = true + + # This should be updated to the host/port combination you use for your Gitlab + # instance access, otherwise emails may have an incorrect URL for users + # to click on + config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } end -- GitLab