1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

moved mail settings to production.rb

This commit is contained in:
2016-01-18 20:11:12 +00:00
parent 3db0125a0d
commit 68e076a5d6
2 changed files with 11 additions and 8 deletions

View File

@@ -29,14 +29,7 @@ module Wrestling
config.active_job.queue_adapter = :delayed_job
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => "wrestlingdev.com",
}
#Devise needs origin of email
config.action_mailer.default_url_options = { :host => 'wrestlingdev.com' }
end

View File

@@ -96,4 +96,14 @@ Wrestling::Application.configure do
#Added by me to force SSL in production
config.force_ssl = true
#Mail
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => "wrestlingdev.com",
}
#Devise needs origin of email
config.action_mailer.default_url_options = { :host => 'wrestlingdev.com' }
end