express_templates 0.9.6 → 0.9.7
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: 5a671ca52fa5c3475e144928f8b50e4e70b03baa
|
4
|
+
data.tar.gz: 832c78019d3a9d8ed40d41e11884a7d13170af45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e425677ed8d6c52de583baf250f290588c00e33aff56a6b3f3c48978dc4248fdb4bb41925152741756a2b6cd21f355ed4c0e6d9879fe2cfc9979a69faaa13cd1
|
7
|
+
data.tar.gz: 4eeba931463b330588f1d41926f688dbbcf8a7d2dc9358a954649bb4926ae3ffcac140b4dd3c7a464314155f564bceadd640684242e3f9c0948974971c817612
|
@@ -182,7 +182,8 @@ module ExpressTemplates
|
|
182
182
|
config[:resource_path]
|
183
183
|
end
|
184
184
|
else
|
185
|
-
if helpers.respond_to?(:resource_path)
|
185
|
+
if helpers.respond_to?(:resource_path) &&
|
186
|
+
helpers.resource.to_param.present? # skip on nil resource
|
186
187
|
helpers.resource_path
|
187
188
|
else
|
188
189
|
if ivar_or_resource.respond_to?(:to_param) &&
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: express_templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Talcott Smith
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-08-
|
12
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|