effective_email_templates 1.0.5 → 1.0.6
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: 46c7c44b667283c6c335d71efd8c146395b621ee28d6f1e50838b6f72d918b91
|
4
|
+
data.tar.gz: 43fecd6415a60000d4c9180bddfcba793c38f06920032eefd5d1bf7cba8fc77f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 516ed7e095f233a13486aed1a766631359b69ff0e7d53437f7f8b7114ef4d73c66f5a2114fa2c624666517256ca328b0f4f3448dcf275730b138b0a01a93bc99
|
7
|
+
data.tar.gz: e5ab639194a6a53a66f9e69ab9353f64696ef558aad299d9c63680c6c4c8be8c1629ffd1b7f4f541a55926a84aa0edbc50decadeb6fdd67ddeb538abbc733eed
|
@@ -34,7 +34,11 @@ module Admin
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def edit
|
37
|
-
@email_template =
|
37
|
+
@email_template =
|
38
|
+
Effective::EmailTemplate.where(id: params[:id]).or(
|
39
|
+
Effective::EmailTemplate.where(template_name: params[:id])
|
40
|
+
).first!
|
41
|
+
|
38
42
|
@page_title = 'Edit Email Template'
|
39
43
|
|
40
44
|
authorize_effective_email_templates!
|
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.0.
|
4
|
+
version: 1.0.6
|
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: 2020-
|
11
|
+
date: 2020-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|