瀏覽代碼

production

Paul Klumpp 12 年之前
父節點
當前提交
34ef475e4e
共有 1 個文件被更改,包括 7 次插入0 次删除
  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