Sha256: b1f85a40fefaae4e4255ad01699079bcba3d8c935c66b0e549a1d79720610726
Contents?: true
Size: 560 Bytes
Versions: 6
Compression:
Stored size: 560 Bytes
Contents
# # ishapi / newsitems / _index # json.newsitems do json.array! newsitems do |item| if item.gallery json.item_type 'gallery' #@TODO: should be a constant json.name item.gallery.name json.galleryname item.gallery.galleryname json.partial! 'ishapi/photos/index', :photos => item.gallery.photos end if item.report json.item_type 'report' json.name item.report.name json.reportname item.report.name_seo json.report_id item.report_id.to_s end json.descr item.descr end end
Version data entries
6 entries across 6 versions & 1 rubygems