Sha256: 73a1a73b78bf5e00abb30f138b5e6bf08678994edd6d250f9e71fcb1cca1e78a

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

#
# ishapi / features / _index
#

json.n_features features.count
json.features do
  json.array! features do |feature|
    if feature.report_id
      r = feature.report
      json.report_id  r.id.to_s
      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
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ishapi-0.1.8.24 app/views/ishapi/features/_index.jbuilder
ishapi-0.1.8.23 app/views/ishapi/features/_index.jbuilder
ishapi-0.1.8.22 app/views/ishapi/features/_index.jbuilder
ishapi-0.1.8.21 app/views/ishapi/features/_index.jbuilder
ishapi-0.1.8.20 app/views/ishapi/features/_index.jbuilder