Sha256: 5a26fcbd3416baf71fc74e348caf71b8c28e2982661fa99bda320825dff728a2
Contents?: true
Size: 782 Bytes
Versions: 93
Compression:
Stored size: 782 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.slug gallery.slug json.description gallery.description json.username gallery.username || 'piousbox' json.n_photos photos.length json.slug gallery.slug 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_profile&.has_premium_purchase( gallery ) json.partial! 'ishapi/photos/index', :photos => [ photos[0] ] else json.partial! 'ishapi/photos/index', :photos => photos end
Version data entries
93 entries across 93 versions & 1 rubygems