From 0bbe061aa552cd948c653a4452cce9cd8918aa75 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 14 Oct 2019 12:31:38 -0300 Subject: [PATCH] mostrar el logo en los correos --- app/mailers/application_mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb index 94ffc99..73ed689 100644 --- a/app/mailers/application_mailer.rb +++ b/app/mailers/application_mailer.rb @@ -12,6 +12,6 @@ class ApplicationMailer < ActionMailer::Base def inline_logo! attachments.inline['logo.png'] ||= - File.read('app/assets/images/logo.png') + File.read(Rails.root.join('app', 'assets', 'images', 'logo.png')) end end