summaryrefslogtreecommitdiff
path: root/config/initializers/smtp_settings.rb.sample
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/smtp_settings.rb.sample')
-rw-r--r--config/initializers/smtp_settings.rb.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/smtp_settings.rb.sample b/config/initializers/smtp_settings.rb.sample
index 25ec247a095..ec182502d4e 100644
--- a/config/initializers/smtp_settings.rb.sample
+++ b/config/initializers/smtp_settings.rb.sample
@@ -8,7 +8,7 @@
# If you change this file in a Merge Request, please also create a Merge Request on https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests
if Rails.env.production?
- Gitlab::Application.config.action_mailer.delivery_method = :smtp
+ Rails.application.config.action_mailer.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
address: "email.server.com",