|
|
|
@ -69,13 +69,17 @@ Entrydns::Application.configure do
|
|
|
|
|
# Send deprecation notices to registered listeners |
|
|
|
|
config.active_support.deprecation = :notify |
|
|
|
|
|
|
|
|
|
ActionMailer::Base.add_delivery_method :ses, AWS::SES::Base, |
|
|
|
|
:access_key_id => Settings.ses_access_key_id, |
|
|
|
|
:secret_access_key => Settings.ses_secret_access_key |
|
|
|
|
config.action_mailer.default_url_options = {:host => 'entrydns.net'} |
|
|
|
|
config.action_mailer.delivery_method = :smtp |
|
|
|
|
config.action_mailer.smtp_settings = { |
|
|
|
|
:address => "127.0.0.1", |
|
|
|
|
:port => 25, |
|
|
|
|
:domain => 'entrydns.net' |
|
|
|
|
} |
|
|
|
|
# config.action_mailer.delivery_method = :smtp |
|
|
|
|
# config.action_mailer.smtp_settings = { |
|
|
|
|
# :address => "127.0.0.1", |
|
|
|
|
# :port => 25, |
|
|
|
|
# :domain => 'entrydns.net' |
|
|
|
|
# } |
|
|
|
|
config.action_mailer.delivery_method = :ses |
|
|
|
|
|
|
|
|
|
# Compress JavaScripts and CSS |
|
|
|
|
config.assets.js_compressor = :uglifier |
|
|
|
|