Browse Source

production

Paul Klumpp 12 năm trước cách đây
mục cha
commit
34ef475e4e
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      config/environments/production.rb

+ 7 - 0
config/environments/production.rb

@@ -20,6 +20,13 @@ Nooo::Application.configure do
   # Generate digests for assets URLs
   config.assets.digest = true
 
+
+  config.action_mailer.delivery_method = :sendmail
+
+  # Don't care if the mailer can't send (false), to care set to true.
+  config.action_mailer.raise_delivery_errors = true
+  config.action_mailer.default_url_options = { :host => 'qwnet-admin.quadaver.org' }
+
   # Defaults to nil and saved in location specified by config.assets.prefix
   # config.assets.manifest = YOUR_PATH