Sha256: a8d8b009ff825a17b26dcaca059319f2e5879c5628cd3a373e719d47fc7b416a
Contents?: true
Size: 832 Bytes
Versions: 2
Compression:
Stored size: 832 Bytes
Contents
# # ishapi / galleries / _show # # @TODO: remove this file, this looks like a newsitem json.id gallery.id.to_s json.item_type gallery.class.name json.name gallery.name json.galleryname gallery.galleryname json.description gallery.description json.username gallery.username || 'piousbox' json.n_photos gallery.photos.length json.slug gallery.galleryname json.subhead gallery.subhead json.partial! 'ishapi/application/meta', :item => gallery if gallery.is_premium json.premium_tier gallery.premium_tier json.is_premium gallery.premium_tier > 0 json.is_purchased current_user&.profile&.has_premium_purchase( gallery ) json.partial! 'ishapi/photos/index', :photos => [ gallery.photos[0] ] else json.partial! 'ishapi/photos/index', :photos => gallery.photos end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ishapi-0.1.8.156 | app/views/ishapi/galleries/_show.jbuilder |
ishapi-0.1.8.155 | app/views/ishapi/galleries/_show.jbuilder |