ishapi 0.1.8.29 → 0.1.8.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/ishapi/reports/show.jbuilder +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd4a4f329b2944f40387c440d8a92224fb0ebe14
|
4
|
+
data.tar.gz: ba51981062bbc8f329aeee1aaf0fc025e4894b17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9a5478e4300dce2c9d84bdb2f961eb59e4641909fa10d941eae2601a4768573b2a054adc69f16683c40439cc33b0f63e728a1400c17946449a3cd8b3f0dcc88
|
7
|
+
data.tar.gz: 99d445113f47b2529ea18dd529d4d39c1e80e0b6afd6847c0158c7f4743cf98dc4470a7b03ab55d51ad670a44d0af315879bde6c31e13975a1e5317e79e1a223
|
@@ -9,8 +9,10 @@ json.cache! key do
|
|
9
9
|
json.id @report.id.to_s
|
10
10
|
json.name @report.name
|
11
11
|
json.reportname @report.name_seo
|
12
|
-
|
13
|
-
|
12
|
+
if @report.photo
|
13
|
+
json.photo_url @report.photo.photo.url( :small )
|
14
|
+
json.thumb_url @report.photo.photo.url( :thumb )
|
15
|
+
end
|
14
16
|
|
15
17
|
# @TODO: move this to meta
|
16
18
|
json.created_at @report.created_at.strftime('%Y%m%d')
|