mostrar el logo en los correos

This commit is contained in:
f 2019-10-14 12:31:38 -03:00
parent 8e4e645d6d
commit 0bbe061aa5
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -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