Sha256: 63fe7f23559d4655066bce6c754167ddc73900ce47ecfde15ea756ceb773221e
Contents?: true
Size: 764 Bytes
Versions: 11
Compression:
Stored size: 764 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
11 entries across 11 versions & 1 rubygems