bullet_train 1.0.20 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/email_helper.rb +1 -1
- data/lib/bullet_train/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfe147f80284b8381d7e4a7dae261fc18269e2338d32e5a0883f95fb9ba04e55
|
4
|
+
data.tar.gz: e2573c464052e66b092ce76438ad61969371113ff70d731b34eb1c20946e162e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e18562d0cc9dcf644734627ceb1e61707132cdb95e80808f8201a3e8434674ee9d9ed1bb33c4b36d4c4c6885d09171ad35ded84a06c1039284be84b6c94326b0
|
7
|
+
data.tar.gz: 4370b132129af48ed65d1307060aa83d768efc46db671ee9d52c7bb33311016be004374a85fdb053d62774e85421cafa41840a2f4d0c9d6b56c4dde1c485191b
|
data/app/helpers/email_helper.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module EmailHelper
|
2
2
|
def email_image_tag(image, **options)
|
3
3
|
image_underscore = image.tr("-", "_")
|
4
|
-
attachments.inline[image_underscore] = File.read(Rails.root.join("app/
|
4
|
+
attachments.inline[image_underscore] = File.read(Rails.root.join("app/assets/images/#{image}"))
|
5
5
|
image_tag attachments.inline[image_underscore].url, **options
|
6
6
|
end
|
7
7
|
end
|
data/lib/bullet_train/version.rb
CHANGED