Sha256: 8faf57a081da9aa73089dd5a08de54f80bfc1fd7034ec7de5d2382baa88309f9
Contents?: true
Size: 436 Bytes
Versions: 185
Compression:
Stored size: 436 Bytes
Contents
# # ishapi / galleries / show_premium_unlocked # this_key = [ @gallery, params.permit! ] json.cache! this_key do json.gallery do json.message "Thanks for purchasing!" json.premium_tier @gallery.premium_tier json.is_premium @gallery.is_premium json.is_purchased true json.partial! 'ishapi/galleries/show', gallery: @gallery json.partial! 'ishapi/photos/index', :photos => @gallery.photos end end
Version data entries
185 entries across 185 versions & 1 rubygems