Config: add action_mailer.asset_host var to send image in email
This commit is contained in:
parent
5a794a8b9a
commit
45209619a4
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ Rails.application.configure do
|
||||||
# Action Mailer settings
|
# Action Mailer settings
|
||||||
config.action_mailer.delivery_method = :smtp
|
config.action_mailer.delivery_method = :smtp
|
||||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
||||||
|
config.action_mailer.asset_host = 'http://localhost:3000'
|
||||||
# Config for mailcatcher https://mailcatcher.me/
|
# Config for mailcatcher https://mailcatcher.me/
|
||||||
config.action_mailer.smtp_settings = {
|
config.action_mailer.smtp_settings = {
|
||||||
:address => "localhost",
|
:address => "localhost",
|
||||||
|
|
Loading…
Reference in a new issue