diff --git a/app/assets/images/ansol-logo-white.png b/app/assets/images/ansol-logo-white.png new file mode 100644 index 0000000..bd6898f Binary files /dev/null and b/app/assets/images/ansol-logo-white.png differ diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index a6c3429..b62369e 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -10,7 +10,7 @@
- ANSOL + " style="margin: 0px auto; max-width: 400px; display: block; color: white" alt="ANSOL" />
<%= yield %> diff --git a/config/environments/development.rb b/config/environments/development.rb index 3ac9faf..f94c98a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -57,6 +57,8 @@ Rails.application.configure do host: ENV['BASE_HOST'], } + config.action_mailer.asset_host = "https://#{ENV['BASE_HOST']}" + # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log diff --git a/config/environments/production.rb b/config/environments/production.rb index af267b8..41815b9 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -71,9 +71,7 @@ Rails.application.configure do host: ENV['BASE_HOST'], } - config.action_mailer.default_url_options = { - host: ENV['BASE_HOST'], - } + config.action_mailer.asset_host = "https://#{ENV['BASE_HOST']}" # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found).