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:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user