|
|
@ -69,13 +69,17 @@ Entrydns::Application.configure do |
|
|
|
# Send deprecation notices to registered listeners |
|
|
|
# Send deprecation notices to registered listeners |
|
|
|
config.active_support.deprecation = :notify |
|
|
|
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.default_url_options = {:host => 'entrydns.net'} |
|
|
|
config.action_mailer.delivery_method = :smtp |
|
|
|
# config.action_mailer.delivery_method = :smtp |
|
|
|
config.action_mailer.smtp_settings = { |
|
|
|
# config.action_mailer.smtp_settings = { |
|
|
|
:address => "127.0.0.1", |
|
|
|
# :address => "127.0.0.1", |
|
|
|
:port => 25, |
|
|
|
# :port => 25, |
|
|
|
:domain => 'entrydns.net' |
|
|
|
# :domain => 'entrydns.net' |
|
|
|
} |
|
|
|
# } |
|
|
|
|
|
|
|
config.action_mailer.delivery_method = :ses |
|
|
|
|
|
|
|
|
|
|
|
# Compress JavaScripts and CSS |
|
|
|
# Compress JavaScripts and CSS |
|
|
|
config.assets.js_compressor = :uglifier |
|
|
|
config.assets.js_compressor = :uglifier |
|
|
|