summaryrefslogtreecommitdiff
path: root/config/environments/production.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r--config/environments/production.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 6f2c5bdd..82b918a0 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -13,7 +13,7 @@ Cccms::Application.configure do
13 config.log_level = :info 13 config.log_level = :info
14 14
15 config.active_support.deprecation = :notify 15 config.active_support.deprecation = :notify
16 config.eager_load = false 16 config.eager_load = true
17 17
18 # Use a different logger for distributed setups 18 # Use a different logger for distributed setups
19 # config.logger = SyslogLogger.new 19 # config.logger = SyslogLogger.new
@@ -30,11 +30,11 @@ Cccms::Application.configure do
30 # Enable threaded mode 30 # Enable threaded mode
31 # config.threadsafe! 31 # config.threadsafe!
32 32
33 ActionMailer::Base.delivery_method = :sendmail 33 config.action_mailer.delivery_method = :sendmail
34 ActionMailer::Base.sendmail_settings = { 34 config.action_mailer.sendmail_settings = {
35 :location => '/usr/sbin/sendmail', 35 location: '/usr/sbin/sendmail',
36 :arguments => '-i -t' 36 arguments: '-i -t'
37 } 37 }
38 ActionMailer::Base.perform_deliveries = true 38 config.action_mailer.perform_deliveries = true
39 ActionMailer::Base.raise_delivery_errors = true 39 config.action_mailer.raise_delivery_errors = true
40end 40end