Sha256: a3be00f33fc99c6599ad6fc155aeee1d6107a982435211c910851c591cde22c8
Contents?: true
Size: 281 Bytes
Versions: 15
Compression:
Stored size: 281 Bytes
Contents
module EmailHelper def email_image_tag(image, **options) image_underscore = image.tr("-", "_") attachments.inline[image_underscore] = File.read(Rails.root.join("app/javascript/images/#{image}")) image_tag attachments.inline[image_underscore].url, **options end end
Version data entries
15 entries across 15 versions & 1 rubygems