ishapi 0.1.8.119 → 0.1.8.120
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/videos/_show.jbuilder +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a5914840d2a0f91b63f460d9f578d0f503b98db04038b6578fc4acf696233f4
|
4
|
+
data.tar.gz: 2c494403cefa3ef9543ca3087f5b183d7564cf8689ea31bbd153146fde3df036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9158352265eb0a352fa8ab12b9e7aa59ac2d21fb67c0203c87c6d8aa99f790999c4e6cbbaea0af150c4223efeb41b13b23a43c1f1361bd1f2f1720f77cdb1793
|
7
|
+
data.tar.gz: f57305a13ebc7996fef660194d53d48504a8780497fc6f3a8023f985ecd2d27923103e26c89a906425a82692f350702ffa6eea2bf7e6fd05a3179b2406466b31
|
@@ -35,6 +35,11 @@ if video.is_premium
|
|
35
35
|
json.premium_tier video.premium_tier
|
36
36
|
json.is_premium video.premium_tier > 0
|
37
37
|
if current_user && current_user.profile
|
38
|
-
json.is_purchased current_user.profile.has_premium_purchase(
|
38
|
+
json.is_purchased current_user.profile.has_premium_purchase( video )
|
39
39
|
end
|
40
40
|
end
|
41
|
+
|
42
|
+
if video.thumb
|
43
|
+
json.photo_s169_url video.thumb.url( :s169 )
|
44
|
+
json.photo_thumb2_url video.thumb.url( :thumb2 )
|
45
|
+
end
|