Sha256: 96130259632232aeeca69f6ea7bdf15e46b6d0acb0bb08efdfa19638fcf5c0f7
Contents?: true
Size: 962 Bytes
Versions: 4
Compression:
Stored size: 962 Bytes
Contents
# # ishapi / features / _index # json.n_features features.count json.features do json.array! features do |feature| json.name feature.name unless feature.name.blank? json.subhead feature.subhead unless feature.subhead.blank? json.link_path feature.link_path unless feature.link_path.blank? json.inner_html feature.inner_html unless feature.inner_html.blank? json.photo_url feature.image_path unless feature.image_path.blank? if feature.report r = feature.report json.name r.name json.subhead r.subhead json.reportname r.name_seo if r.photo json.photo_url r.photo.photo.url( :thumb ) end end if feature.gallery r = feature.gallery json.name r.name json.subhead r.subhead json.galleryname r.galleryname if r.photos[0] json.photo_url r.photos[0].photo.url( :thumb ) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems