rails_email_preview 0.2.30 → 0.2.31
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90e5262b6ef9d3bf7b55df8ca3bb46004103bd9b
|
4
|
+
data.tar.gz: 1d96c1d2a68c9602040875d45557d50d55d03d00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 188be5c4b3ce2c18818b83766abcd008b28704f66aefc8c45861f8f8b81dfcbc16efcbb0f9167655d52c2666e8c110719e33f9fd9004c6223229402731c1501b
|
7
|
+
data.tar.gz: 8f8c7888f0c9681d02f0f65b4df9d113e6da8203ee8c969d487d7f212770f2c05747d0e363d3420b9ea1eaa38f30d152878aab91e941d20d6cf3c5b0d488d0bf
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ REP can use your application styles, markup is compatible with [bootstrap 3][rep
|
|
16
16
|
Add [![Gem Version][gem-badge]][gem] to Gemfile:
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
gem 'rails_email_preview', '~> 0.2.
|
19
|
+
gem 'rails_email_preview', '~> 0.2.31'
|
20
20
|
```
|
21
21
|
|
22
22
|
Add an initializer and the routes:
|
@@ -9,7 +9,7 @@ module RailsEmailPreview
|
|
9
9
|
# ModerationMailer#approve -> "moderation_mailer-approve"
|
10
10
|
def cms_email_id
|
11
11
|
mailer = respond_to?(:controller) ? controller : self
|
12
|
-
"#{mailer.class.name.underscore}-#{action_name}"
|
12
|
+
"#{mailer.class.name.underscore.gsub('/', '__')}-#{action_name}"
|
13
13
|
end
|
14
14
|
|
15
15
|
# @param [Hash] interpolation subject interpolation values
|