mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-15 20:46:57 +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.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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -96,4 +96,14 @@ Wrestling::Application.configure do
|
|||||||
|
|
||||||
#Added by me to force SSL in production
|
#Added by me to force SSL in production
|
||||||
config.force_ssl = true
|
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
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user