Sha256: ca8909de875a39e420bd89389712da39c7aa2aeab17c2b6accbe22cbebc91a33
Contents?: true
Size: 766 Bytes
Versions: 12
Compression:
Stored size: 766 Bytes
Contents
# # ishapi / galleries / _show # json.id gallery.id.to_s json.item_type 'gallery' 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
12 entries across 12 versions & 1 rubygems