better_mailer_previews 0.2.28 → 0.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed2b8e431d05cc6cce1a49590111765e8d89edfb95af2ddd4f230bf875654e24
|
|
4
|
+
data.tar.gz: 79d319691b7b7c63db0c5304ecbe7f24a30aac358810d1d641f9e8b4409de456
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de462d3acc0e681fac6f96fce65ceac01ab3b2f20b3499949504d077fb6399c75a0a93b9c656c8f0770acaf4d9b60f1fc140fa68ddbfc0a35a329893379b8892
|
|
7
|
+
data.tar.gz: 7ede2f31ccae45095e56dbc70b324f83e9e92e224f1761bf6bf51127bd5aab991f41d7ded10f7fad94129c95ff3abcf1c93aca811890393c139e9d8bdc33794f
|
data/README.md
CHANGED
|
@@ -78,6 +78,10 @@ This engine will display all the [Actionmailer Previews](https://guides.rubyonra
|
|
|
78
78
|
|
|
79
79
|
For all the mailers you'd like to preview, you need to set up the corresponding `ActionMailer::Preview` class. Once you've done that, this engine will automatically pull them all in and let you preview them!
|
|
80
80
|
|
|
81
|
+
## Other things to note
|
|
82
|
+
|
|
83
|
+
- You need an internet connection for this to engine to work properly. This engine tries to load the TailwindCSS package via a CDN, to handle the app styling. Your browser will cache the package after you first download it though, which is handy.
|
|
84
|
+
|
|
81
85
|
## More from me
|
|
82
86
|
|
|
83
87
|
If you like this gem, you'll probably like some of my other work (all Ruby on Rails stuff) —
|
|
@@ -50,7 +50,7 @@ module BetterMailerPreviews
|
|
|
50
50
|
body: html_content,
|
|
51
51
|
).deliver_now
|
|
52
52
|
|
|
53
|
-
flash[:notice] = "sent #{preview_class.to_s}.#{preview_method} to #{email_address}"
|
|
53
|
+
flash[:notice] = "sent #{preview_class.to_s}.#{preview_method} to #{email_address} [via #{Rails.application.config.action_mailer.delivery_method}]"
|
|
54
54
|
redirect_back(fallback_location: root_path)
|
|
55
55
|
end
|
|
56
56
|
end
|