effective_email_templates 1.2.3 → 1.3.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef3facb431d4773e654d65d8797e4d616e7fcc463ab3643db556001b0d4b62b9
|
4
|
+
data.tar.gz: be4db3f2818619af838038f33711b8e7f1ace4fcec9a81127bf315ded3edcd3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8825ea1ce92eb8d06896eeaa373de617196a087dc438c7c117fd01a550e4743ec58f6ee94db15f3bb74956e0e3a370d9148f4ab5a832a753eabeb14f951c9e41
|
7
|
+
data.tar.gz: 8160cff98ca3378e003e6aba6605140a0adaba6b4412484343699391bfda45fde02d78e7452a4d8076654299baddf31ef218a03cc5e18a4220f3d89f4af0d6ad
|
@@ -5,7 +5,7 @@ module EffectiveEmailTemplatesMailer
|
|
5
5
|
|
6
6
|
def mail(headers = {}, &block)
|
7
7
|
email_template = Effective::EmailTemplate.where(template_name: action_name).first
|
8
|
-
return super
|
8
|
+
return super if email_template.blank?
|
9
9
|
|
10
10
|
assigns = (@assigns || {})
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_email_templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|