aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 73ee9d783..af2ca15b9 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -18,9 +18,9 @@ Alaveteli::Application.configure do
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
- config.action_mailer.delivery_method = AlaveteliConfiguration::mailer_delivery_method.to_sym
+ config.action_mailer.delivery_method = AlaveteliConfiguration::production_mailer_delivery_method.to_sym
- if AlaveteliConfiguration::mailer_delivery_method.to_sym == :smtp
+ if AlaveteliConfiguration::production_mailer_delivery_method.to_sym == :smtp
config.action_mailer.smtp_settings = {
:address => AlaveteliConfiguration::smtp_mailer_address,
:port => AlaveteliConfiguration.smtp_mailer_port,